pub enum PortMode {
Value,
Stream,
}Expand description
Port packet mode.
Variants§
Value
The port carries one value packet at a time.
Stream
The port carries stream packets or stream handles.
Trait Implementations§
impl Copy for PortMode
impl Eq for PortMode
impl StructuralPartialEq for PortMode
Auto Trait Implementations§
impl Freeze for PortMode
impl RefUnwindSafe for PortMode
impl Send for PortMode
impl Sync for PortMode
impl Unpin for PortMode
impl UnsafeUnpin for PortMode
impl UnwindSafe for PortMode
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