Struct posixmq::Attributes [−][src]
Contains information about the capacities and state of a posix message queue.
Created by PosixMq::attributes()
.
Fields
max_msg_len: usize
The maximum size of messages that can be stored in the queue.
capacity: usize
The maximum number of messages in the queue.
current_messages: usize
The number of messages currently in the queue at the time the attributes were retrieved.
nonblocking: bool
Whether the descriptor was set to nonblocking mode when the attributes were retrieved.
Trait Implementations
impl Clone for Attributes
[src]
fn clone(&self) -> Attributes
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Attributes
[src]
impl Debug for Attributes
[src]
impl Default for Attributes
[src]
fn default() -> Attributes
[src]
impl Eq for Attributes
[src]
impl PartialEq<Attributes> for Attributes
[src]
fn eq(&self, other: &Attributes) -> bool
[src]
fn ne(&self, other: &Attributes) -> bool
[src]
impl StructuralEq for Attributes
[src]
impl StructuralPartialEq for Attributes
[src]
Auto Trait Implementations
impl RefUnwindSafe for Attributes
[src]
impl Send for Attributes
[src]
impl Sync for Attributes
[src]
impl Unpin for Attributes
[src]
impl UnwindSafe for Attributes
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,