pub struct RegisteredStreamActivation { /* private fields */ }Implementations§
Source§impl RegisteredStreamActivation
impl RegisteredStreamActivation
pub fn from_stored( stored_activation_id: StreamActivationId, stored_author_stream_id: AuthorStreamId, activation: StreamActivation, activating_commit: StoreBatchCommitRef, ) -> Result<Self, StoreProtocolError>
pub fn activation(&self) -> &StreamActivation
pub fn activating_commit(&self) -> &StoreBatchCommitRef
Trait Implementations§
Source§impl Clone for RegisteredStreamActivation
impl Clone for RegisteredStreamActivation
Source§fn clone(&self) -> RegisteredStreamActivation
fn clone(&self) -> RegisteredStreamActivation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RegisteredStreamActivation
impl Debug for RegisteredStreamActivation
impl Eq for RegisteredStreamActivation
impl StructuralPartialEq for RegisteredStreamActivation
Auto Trait Implementations§
impl Freeze for RegisteredStreamActivation
impl RefUnwindSafe for RegisteredStreamActivation
impl Send for RegisteredStreamActivation
impl Sync for RegisteredStreamActivation
impl Unpin for RegisteredStreamActivation
impl UnsafeUnpin for RegisteredStreamActivation
impl UnwindSafe for RegisteredStreamActivation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.