pub enum ClearState {
Uncleared,
Cleared,
Pending,
}
Expand description
Represents a clearing state, often combined with the ambiguity.
Variants§
Uncleared
No specific meaning.
Cleared
Useful to declare that the transaction / post is confirmed.
Pending
Useful to declare that the transaction / post is still pending.
Trait Implementations§
Source§impl Clone for ClearState
impl Clone for ClearState
Source§fn clone(&self) -> ClearState
fn clone(&self) -> ClearState
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 ClearState
impl Debug for ClearState
Source§impl Default for ClearState
impl Default for ClearState
Source§fn default() -> ClearState
fn default() -> ClearState
Returns the “default value” for a type. Read more
Source§impl IntoBoundedStatic for ClearState
impl IntoBoundedStatic for ClearState
Source§type Static = ClearState
type Static = ClearState
The target type is bounded by the
'static
lifetime.Source§fn into_static(self) -> Self::Static
fn into_static(self) -> Self::Static
Convert an owned
T
into an owned T
such that T: 'static
.Source§impl PartialEq for ClearState
impl PartialEq for ClearState
Source§impl ToBoundedStatic for ClearState
impl ToBoundedStatic for ClearState
impl Copy for ClearState
impl Eq for ClearState
impl StructuralPartialEq for ClearState
Auto Trait Implementations§
impl Freeze for ClearState
impl RefUnwindSafe for ClearState
impl Send for ClearState
impl Sync for ClearState
impl Unpin for ClearState
impl UnwindSafe for ClearState
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