Enum cuprate_dandelion_tower::TxState
source · pub enum TxState<ID> {
Fluff,
Stem {
from: ID,
},
Local,
}Expand description
The routing state of a transaction.
Variants§
Fluff
Fluff state.
Stem
Stem state.
Fields
§
from: IDThe peer who sent us this transaction’s ID.
Local
Local - the transaction originated from our node.
Trait Implementations§
source§impl<ID: PartialEq> PartialEq for TxState<ID>
impl<ID: PartialEq> PartialEq for TxState<ID>
impl<ID: Eq> Eq for TxState<ID>
impl<ID> StructuralPartialEq for TxState<ID>
Auto Trait Implementations§
impl<ID> Freeze for TxState<ID>where
ID: Freeze,
impl<ID> RefUnwindSafe for TxState<ID>where
ID: RefUnwindSafe,
impl<ID> Send for TxState<ID>where
ID: Send,
impl<ID> Sync for TxState<ID>where
ID: Sync,
impl<ID> Unpin for TxState<ID>where
ID: Unpin,
impl<ID> UnwindSafe for TxState<ID>where
ID: UnwindSafe,
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,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.