pub struct SwitchPort { /* private fields */ }Expand description
Guest-side handle representing one port on a VirtualSwitch.
Implementations§
Source§impl SwitchPort
impl SwitchPort
Trait Implementations§
Auto Trait Implementations§
impl Forget for SwitchPort
impl Freeze for SwitchPortwhere
*const ArcInner<VirtualSwitch> is !null: Freeze,
PhantomData<ArcInner<VirtualSwitch>>: Freeze,
impl Move for SwitchPort
impl RefUnwindSafe for SwitchPort
impl Send for SwitchPort
impl Sync for SwitchPort
impl Unpin for SwitchPort
impl UnsafeUnpin for SwitchPortwhere
*const ArcInner<VirtualSwitch> is !null: UnsafeUnpin,
PhantomData<ArcInner<VirtualSwitch>>: UnsafeUnpin,
impl UnwindSafe for SwitchPort
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> 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