pub enum AddPathSendReceive {
Receive = 1,
Send = 2,
SendReceive = 3,
}Expand description
Send/Receive mode for ADD-PATH capability - RFC 7911
Variants§
Receive = 1
Can receive multiple paths (value 1)
Send = 2
Can send multiple paths (value 2)
SendReceive = 3
Can both send and receive multiple paths (value 3)
Trait Implementations§
Source§impl Clone for AddPathSendReceive
impl Clone for AddPathSendReceive
Source§fn clone(&self) -> AddPathSendReceive
fn clone(&self) -> AddPathSendReceive
Returns a duplicate 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 AddPathSendReceive
impl Debug for AddPathSendReceive
Source§impl Hash for AddPathSendReceive
impl Hash for AddPathSendReceive
Source§impl PartialEq for AddPathSendReceive
impl PartialEq for AddPathSendReceive
Source§impl TryFrom<u8> for AddPathSendReceive
impl TryFrom<u8> for AddPathSendReceive
impl Copy for AddPathSendReceive
impl Eq for AddPathSendReceive
impl StructuralPartialEq for AddPathSendReceive
Auto Trait Implementations§
impl Freeze for AddPathSendReceive
impl RefUnwindSafe for AddPathSendReceive
impl Send for AddPathSendReceive
impl Sync for AddPathSendReceive
impl Unpin for AddPathSendReceive
impl UnwindSafe for AddPathSendReceive
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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