pub struct Timestamp(/* private fields */);Implementations§
Trait Implementations§
Source§impl DecodeTlvUnchecked for Timestamp
impl DecodeTlvUnchecked for Timestamp
Source§impl DecodeTlvValueUnchecked for Timestamp
impl DecodeTlvValueUnchecked for Timestamp
Source§impl TlvConstantMetadata for &Timestampwhere
Timestamp: TlvConstantMetadata,
impl TlvConstantMetadata for &Timestampwhere
Timestamp: TlvConstantMetadata,
Source§impl TlvConstantMetadata for Timestamp
impl TlvConstantMetadata for Timestamp
Source§impl TryEncodeTlv for Timestamp
impl TryEncodeTlv for Timestamp
Source§fn try_encode_tlv(&self, buffer: &mut [u8]) -> Result<usize, TwineTlvError>
fn try_encode_tlv(&self, buffer: &mut [u8]) -> Result<usize, TwineTlvError>
Encode some data type into the TLV format. Read more
Source§impl TryEncodeTlvValue for Timestamp
impl TryEncodeTlvValue for Timestamp
Source§fn try_encode_tlv_value(
&self,
buffer: &mut [u8],
) -> Result<usize, TwineTlvError>
fn try_encode_tlv_value( &self, buffer: &mut [u8], ) -> Result<usize, TwineTlvError>
Encode the value portion of a TLV data type. Read more
impl Copy for Timestamp
impl Eq for Timestamp
impl StructuralPartialEq for Timestamp
impl TlvMetadata for &Timestamp
impl TlvMetadata for Timestamp
Auto Trait Implementations§
impl Freeze for Timestamp
impl RefUnwindSafe for Timestamp
impl Send for Timestamp
impl Sync for Timestamp
impl Unpin for Timestamp
impl UnsafeUnpin for Timestamp
impl UnwindSafe for Timestamp
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