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, __Context> BorrowDecode<'__de, __Context> for CopperListState
impl<'__de, __Context> BorrowDecode<'__de, __Context> for CopperListState
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
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<__Context> Decode<__Context> for CopperListState
impl<__Context> Decode<__Context> for CopperListState
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
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