pub enum Attach {
Client,
SouthRegion {
region: String,
},
Device {
devices: Vec<String>,
},
}Expand description
How the far side attaches (§2.5; v2 §2.5).
Variants§
Client
One far-side session, or a gateway session, as a client.
SouthRegion
A far router in a south region, named by its region_name.
Device
link.v2’s device face (v2 §2.5): the sessions of owners on a first
hop (core §8.1), each a client of the near router, by address
<system>/<service>, sorted by their bytes.
Implementations§
Trait Implementations§
impl Eq for Attach
impl StructuralPartialEq for Attach
Auto Trait Implementations§
impl Forget for Attach
impl Freeze for Attach
impl Move for Attach
impl RefUnwindSafe for Attach
impl Send for Attachwhere
RawVecInner: Send,
impl Sync for Attachwhere
RawVecInner: Sync,
impl Unpin for Attach
impl UnsafeUnpin for Attachwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Attachwhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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<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