pub enum Opens {
Far,
Near,
}Expand description
Which end of a face opens its links (v2 §2.1, §2.5): connects, where the other accepts.
Variants§
Far
The far end: the far side’s session, gateway or router connects to
the near router. Every shape’s default, and client’s and
device’s only.
Near
The near router connects to the far router: south-region only.
Trait Implementations§
impl Copy for Opens
impl Eq for Opens
impl StructuralPartialEq for Opens
Auto Trait Implementations§
impl Forget for Opens
impl Freeze for Opens
impl Move for Opens
impl RefUnwindSafe for Opens
impl Send for Opens
impl Sync for Opens
impl Unpin for Opens
impl UnsafeUnpin for Opens
impl UnwindSafe for Opens
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