Enum pancake_types::serde::datum::OptDatum
source · pub enum OptDatum<T> {
Tombstone,
Some(T),
}Variants§
Implementations§
source§impl OptDatum<Datum>
impl OptDatum<Datum>
pub fn skip<R: Read + Seek>(r: &mut R) -> Result<ReadResult<()>>
pub fn deser<R: Read + Seek>(r: &mut R) -> Result<ReadResult<Self>>
pub fn deser_<const IS_ROOT: bool, R: Read + Seek>( r: &mut R ) -> Result<ReadResult<Self>>
fn deser_dynalen_body<R: Read>( r: &mut R, r_len: &mut usize ) -> Result<Vec<u8>, Error>
fn deser_tuple_body<R: Read + Seek>( r: &mut R, r_len: &mut usize ) -> Result<Datum>
Trait Implementations§
source§impl<T: PartialEq> PartialEq for OptDatum<T>
impl<T: PartialEq> PartialEq for OptDatum<T>
impl<T: Eq> Eq for OptDatum<T>
impl Serializable for OptDatum<PVShared>
impl<T> StructuralEq for OptDatum<T>
impl<T> StructuralPartialEq for OptDatum<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for OptDatum<T>where
T: RefUnwindSafe,
impl<T> Send for OptDatum<T>where
T: Send,
impl<T> Sync for OptDatum<T>where
T: Sync,
impl<T> Unpin for OptDatum<T>where
T: Unpin,
impl<T> UnwindSafe for OptDatum<T>where
T: UnwindSafe,
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