pub struct PrepareToken(/* private fields */);Expand description
Handle for a prepared-but-uncommitted transition. Handed out only by
KernelPreparation::Prepared: a replay has nothing to commit and a rejection has nothing
to abort.
Implementations§
Source§impl PrepareToken
impl PrepareToken
Trait Implementations§
Source§impl Clone for PrepareToken
impl Clone for PrepareToken
Source§fn clone(&self) -> PrepareToken
fn clone(&self) -> PrepareToken
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 PrepareToken
impl Debug for PrepareToken
Source§impl<'de> Deserialize<'de> for PrepareToken
impl<'de> Deserialize<'de> for PrepareToken
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PrepareToken
impl Display for PrepareToken
impl Eq for PrepareToken
Source§impl Hash for PrepareToken
impl Hash for PrepareToken
Source§impl Ord for PrepareToken
impl Ord for PrepareToken
Source§fn cmp(&self, other: &PrepareToken) -> Ordering
fn cmp(&self, other: &PrepareToken) -> 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for PrepareToken
impl PartialEq for PrepareToken
Source§impl PartialOrd for PrepareToken
impl PartialOrd for PrepareToken
Source§impl Serialize for PrepareToken
impl Serialize for PrepareToken
impl StructuralPartialEq for PrepareToken
Auto Trait Implementations§
impl Freeze for PrepareToken
impl RefUnwindSafe for PrepareToken
impl Send for PrepareToken
impl Sync for PrepareToken
impl Unpin for PrepareToken
impl UnsafeUnpin for PrepareToken
impl UnwindSafe for PrepareToken
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more