#[repr(u8)]pub enum AddPathDirection {
ReceivePaths = 1,
SendPaths = 2,
SendReceivePaths = 3,
}
Expand description
The direction which an ADD-PATH capabilty indicates a peer can provide additional paths.
Variants§
ReceivePaths = 1
Indiates a peer can recieve additional paths.
SendPaths = 2
Indiates a peer can send additional paths.
SendReceivePaths = 3
Indiates a peer can both send and receive additional paths.
Trait Implementations§
Source§impl Clone for AddPathDirection
impl Clone for AddPathDirection
Source§fn clone(&self) -> AddPathDirection
fn clone(&self) -> AddPathDirection
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 AddPathDirection
impl Debug for AddPathDirection
Source§impl Hash for AddPathDirection
impl Hash for AddPathDirection
Source§impl PartialEq for AddPathDirection
impl PartialEq for AddPathDirection
Source§impl TryFrom<u8> for AddPathDirection
impl TryFrom<u8> for AddPathDirection
impl Copy for AddPathDirection
impl Eq for AddPathDirection
impl StructuralPartialEq for AddPathDirection
Auto Trait Implementations§
impl Freeze for AddPathDirection
impl RefUnwindSafe for AddPathDirection
impl Send for AddPathDirection
impl Sync for AddPathDirection
impl Unpin for AddPathDirection
impl UnwindSafe for AddPathDirection
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