pub enum DeserializationMode {
Full,
SkipPow,
}Expand description
Signal to a deserializable object how much of its data should be deserialized
Variants§
Full
Deserialize everything sufficiently to fully reconstruct the object
SkipPow
For Block Headers, skip reading proof
Implementations§
Trait Implementations§
Source§impl Clone for DeserializationMode
impl Clone for DeserializationMode
Source§fn clone(&self) -> DeserializationMode
fn clone(&self) -> DeserializationMode
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 PartialEq for DeserializationMode
impl PartialEq for DeserializationMode
impl Copy for DeserializationMode
impl Eq for DeserializationMode
impl StructuralPartialEq for DeserializationMode
Auto Trait Implementations§
impl Freeze for DeserializationMode
impl RefUnwindSafe for DeserializationMode
impl Send for DeserializationMode
impl Sync for DeserializationMode
impl Unpin for DeserializationMode
impl UnwindSafe for DeserializationMode
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<'a, T> DefaultFeatures<'a> for T
impl<'a, T> DefaultFeatures<'a> for T
Source§fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.Source§impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
Source§fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.