pub struct ProtocolFlags {
pub read: bool,
pub write: bool,
}Expand description
Protocol open flags.
Fields§
§read: bool§write: boolImplementations§
Source§impl ProtocolFlags
impl ProtocolFlags
Trait Implementations§
Source§impl Clone for ProtocolFlags
impl Clone for ProtocolFlags
Source§fn clone(&self) -> ProtocolFlags
fn clone(&self) -> ProtocolFlags
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 ProtocolFlags
impl Debug for ProtocolFlags
Source§impl PartialEq for ProtocolFlags
impl PartialEq for ProtocolFlags
impl Copy for ProtocolFlags
impl Eq for ProtocolFlags
impl StructuralPartialEq for ProtocolFlags
Auto Trait Implementations§
impl Freeze for ProtocolFlags
impl RefUnwindSafe for ProtocolFlags
impl Send for ProtocolFlags
impl Sync for ProtocolFlags
impl Unpin for ProtocolFlags
impl UnsafeUnpin for ProtocolFlags
impl UnwindSafe for ProtocolFlags
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