Struct tc_transact::TxnId
source · pub struct TxnId { /* private fields */ }
Expand description
The unique ID of a transaction, used for identity and ordering.
Implementations§
Trait Implementations§
source§impl FromStream for TxnId
impl FromStream for TxnId
source§impl<'en> IntoStream<'en> for TxnId
impl<'en> IntoStream<'en> for TxnId
source§impl Ord for TxnId
impl Ord for TxnId
source§impl PartialEq<TxnId> for TxnId
impl PartialEq<TxnId> for TxnId
source§impl PartialOrd<TxnId> for TxnId
impl PartialOrd<TxnId> for TxnId
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for TxnId
impl Eq for TxnId
impl StructuralEq for TxnId
impl StructuralPartialEq for TxnId
Auto Trait Implementations§
impl RefUnwindSafe for TxnId
impl Send for TxnId
impl Sync for TxnId
impl Unpin for TxnId
impl UnwindSafe for TxnId
Blanket Implementations§
source§impl<F> Match for F
impl<F> Match for F
source§fn matches<T>(&self) -> boolwhere
T: TryCastFrom<Self>,
fn matches<T>(&self) -> boolwhere
T: TryCastFrom<Self>,
Returns
true
if self
can be cast into the target type T
.source§impl<F, T> TryCastFrom<F> for Twhere
T: CastFrom<F>,
impl<F, T> TryCastFrom<F> for Twhere
T: CastFrom<F>,
source§fn can_cast_from(_: &F) -> bool
fn can_cast_from(_: &F) -> bool
Test if
value
can be cast into Self
.source§fn opt_cast_from(f: F) -> Option<T>
fn opt_cast_from(f: F) -> Option<T>
Returns
Some(Self)
if the source value can be cast into Self
, otherwise None
.source§impl<F, T> TryCastInto<T> for Fwhere
T: TryCastFrom<F>,
impl<F, T> TryCastInto<T> for Fwhere
T: TryCastFrom<F>,
source§fn can_cast_into(&self) -> bool
fn can_cast_into(&self) -> bool
Test if
self
can be cast into T
.source§fn opt_cast_into(self) -> Option<T>
fn opt_cast_into(self) -> Option<T>
Returns
Some(T)
if self
can be cast into T
, otherwise None
.