pub enum PSendFlag {
Block,
NonBlock,
}Expand description
Describe the sending flag of the Socket
Block: Normal usage of the Socket. Blocking until a message is sentNonBlock: The Socket send does not stop the execution of the program
Variants§
Block
Normal usage of the Socket. Blocking until a message is sent
NonBlock
The Socket send does not stop the execution of the program
Trait Implementations§
impl Copy for PSendFlag
impl StructuralPartialEq for PSendFlag
Auto Trait Implementations§
impl Freeze for PSendFlag
impl RefUnwindSafe for PSendFlag
impl Send for PSendFlag
impl Sync for PSendFlag
impl Unpin for PSendFlag
impl UnsafeUnpin for PSendFlag
impl UnwindSafe for PSendFlag
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