pub enum TxnNodeRef {
Id(u64),
Key {
label: String,
key: String,
},
Local(TxnLocalRef),
}Expand description
Reference to a node target inside a write transaction.
Variants§
Trait Implementations§
Source§impl Clone for TxnNodeRef
impl Clone for TxnNodeRef
Source§fn clone(&self) -> TxnNodeRef
fn clone(&self) -> TxnNodeRef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TxnNodeRef
impl Debug for TxnNodeRef
Source§impl Hash for TxnNodeRef
impl Hash for TxnNodeRef
Source§impl Ord for TxnNodeRef
impl Ord for TxnNodeRef
Source§fn cmp(&self, other: &TxnNodeRef) -> Ordering
fn cmp(&self, other: &TxnNodeRef) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TxnNodeRef
impl PartialEq for TxnNodeRef
Source§fn eq(&self, other: &TxnNodeRef) -> bool
fn eq(&self, other: &TxnNodeRef) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TxnNodeRef
impl PartialOrd for TxnNodeRef
impl Eq for TxnNodeRef
impl StructuralPartialEq for TxnNodeRef
Auto Trait Implementations§
impl Freeze for TxnNodeRef
impl RefUnwindSafe for TxnNodeRef
impl Send for TxnNodeRef
impl Sync for TxnNodeRef
impl Unpin for TxnNodeRef
impl UnsafeUnpin for TxnNodeRef
impl UnwindSafe for TxnNodeRef
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more