pub enum CopperListState {
Free,
Initialized,
Processing,
DoneProcessing,
BeingSerialized,
}
Expand description
Those are the possible states along the lifetime of a CopperList.
Variants§
Trait Implementations§
Source§impl<'__de> BorrowDecode<'__de> for CopperListState
impl<'__de> BorrowDecode<'__de> for CopperListState
Source§fn borrow_decode<__D>(decoder: &mut __D) -> Result<CopperListState, DecodeError>where
__D: BorrowDecoder<'__de>,
fn borrow_decode<__D>(decoder: &mut __D) -> Result<CopperListState, DecodeError>where
__D: BorrowDecoder<'__de>,
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for CopperListState
impl Clone for CopperListState
Source§fn clone(&self) -> CopperListState
fn clone(&self) -> CopperListState
Returns a copy 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 CopperListState
impl Debug for CopperListState
Source§impl Decode for CopperListState
impl Decode for CopperListState
Source§fn decode<__D>(decoder: &mut __D) -> Result<CopperListState, DecodeError>where
__D: Decoder,
fn decode<__D>(decoder: &mut __D) -> Result<CopperListState, DecodeError>where
__D: Decoder,
Attempt to decode this type with the given Decode.
Source§impl Display for CopperListState
impl Display for CopperListState
Source§impl Encode for CopperListState
impl Encode for CopperListState
Source§impl PartialEq for CopperListState
impl PartialEq for CopperListState
Source§impl Serialize for CopperListState
impl Serialize for CopperListState
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for CopperListState
impl StructuralPartialEq for CopperListState
Auto Trait Implementations§
impl Freeze for CopperListState
impl RefUnwindSafe for CopperListState
impl Send for CopperListState
impl Sync for CopperListState
impl Unpin for CopperListState
impl UnwindSafe for CopperListState
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> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
§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 more§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a [
CompactString
]. Read more