Struct posixmq::Attributes[][src]

pub struct Attributes {
    pub max_msg_len: usize,
    pub capacity: usize,
    pub current_messages: usize,
    pub nonblocking: bool,
    // some fields omitted
}

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]

impl Copy for Attributes[src]

impl Debug for Attributes[src]

impl Default for Attributes[src]

impl Eq for Attributes[src]

impl PartialEq<Attributes> for Attributes[src]

impl StructuralEq for Attributes[src]

impl StructuralPartialEq for Attributes[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.