#[repr(i32)]pub enum IpcFlags {
CreateKey = 512,
Exclusive = 1_024,
NoWait = 2_048,
MsgNoError = 4_096,
MsgExcept = 8_192,
MsgCopy = 16_384,
}
Expand description
Bit flags for msgget
Variants§
CreateKey = 512
Create the queue if it doesn’t exist
Exclusive = 1_024
Fail if not creating and queue doesn’t exist and fail if creating and queue already exists
NoWait = 2_048
Make send()
and recv()
async
MsgNoError = 4_096
Allow truncation of message data
MsgExcept = 8_192
Used with msgtyp
greater than 0
to read the first message in the
queue with a different type than
msgtyp
MsgCopy = 16_384
Copy the message instead of removing
it from the queue. Used for peek()
Auto Trait Implementations§
impl Freeze for IpcFlags
impl RefUnwindSafe for IpcFlags
impl Send for IpcFlags
impl Sync for IpcFlags
impl Unpin for IpcFlags
impl UnwindSafe for IpcFlags
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