pub struct ForwardingHint { /* private fields */ }
Implementations§
Source§impl ForwardingHint
impl ForwardingHint
pub fn new(name: Name) -> ForwardingHint
Trait Implementations§
Source§impl Clone for ForwardingHint
impl Clone for ForwardingHint
Source§fn clone(&self) -> ForwardingHint
fn clone(&self) -> ForwardingHint
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 ForwardingHint
impl Debug for ForwardingHint
Source§impl Hash for ForwardingHint
impl Hash for ForwardingHint
Source§impl Ord for ForwardingHint
impl Ord for ForwardingHint
Source§fn cmp(&self, other: &ForwardingHint) -> Ordering
fn cmp(&self, other: &ForwardingHint) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ForwardingHint
impl PartialEq for ForwardingHint
Source§impl PartialOrd for ForwardingHint
impl PartialOrd for ForwardingHint
Source§impl Tlv for ForwardingHint
impl Tlv for ForwardingHint
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 ForwardingHint
impl TlvDecode for ForwardingHint
Source§impl TlvEncode for ForwardingHint
impl TlvEncode for ForwardingHint
impl Eq for ForwardingHint
impl StructuralPartialEq for ForwardingHint
Auto Trait Implementations§
impl Freeze for ForwardingHint
impl RefUnwindSafe for ForwardingHint
impl Send for ForwardingHint
impl Sync for ForwardingHint
impl Unpin for ForwardingHint
impl UnwindSafe for ForwardingHint
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