pub struct MustBeFresh;
Implementations§
Source§impl MustBeFresh
impl MustBeFresh
pub fn new() -> MustBeFresh
Trait Implementations§
Source§impl Clone for MustBeFresh
impl Clone for MustBeFresh
Source§fn clone(&self) -> MustBeFresh
fn clone(&self) -> MustBeFresh
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 MustBeFresh
impl Debug for MustBeFresh
Source§impl Default for MustBeFresh
impl Default for MustBeFresh
Source§fn default() -> MustBeFresh
fn default() -> MustBeFresh
Returns the “default value” for a type. Read more
Source§impl Hash for MustBeFresh
impl Hash for MustBeFresh
Source§impl PartialEq for MustBeFresh
impl PartialEq for MustBeFresh
Source§impl Tlv for MustBeFresh
impl Tlv for MustBeFresh
Source§fn inner_size(&self) -> usize
fn inner_size(&self) -> usize
The size of the payload contained within this TLV Read more
Source§fn critical() -> bool
fn critical() -> bool
Whether the TLV is critical, see
tlv_critical
Source§impl TlvDecode for MustBeFresh
impl TlvDecode for MustBeFresh
Source§impl TlvEncode for MustBeFresh
impl TlvEncode for MustBeFresh
impl Copy for MustBeFresh
impl Eq for MustBeFresh
impl StructuralPartialEq for MustBeFresh
Auto Trait Implementations§
impl Freeze for MustBeFresh
impl RefUnwindSafe for MustBeFresh
impl Send for MustBeFresh
impl Sync for MustBeFresh
impl Unpin for MustBeFresh
impl UnwindSafe for MustBeFresh
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more