Enum nng::options::SendBufferSize[][src]

pub enum SendBufferSize {}

The depth of the socket send buffer as a number of messages.

Messages sent by an application may be buffered by the socket until a transport is ready to accept them for delivery. This value must be an integer between 0 and 8192, inclusive.

Support

  • Sockets can utilize this value.
  • Dialers and Listeners can retrieve it from their owning Socket.

Trait Implementations

impl Clone for SendBufferSize[src]

impl Copy for SendBufferSize[src]

impl Debug for SendBufferSize[src]

impl Display for SendBufferSize[src]

impl Eq for SendBufferSize[src]

impl GetOpt<SendBufferSize> for Dialer[src]

impl GetOpt<SendBufferSize> for DialerBuilder[src]

impl GetOpt<SendBufferSize> for Listener[src]

impl GetOpt<SendBufferSize> for ListenerBuilder[src]

impl GetOpt<SendBufferSize> for Socket[src]

impl Hash for SendBufferSize[src]

impl Opt for SendBufferSize[src]

type OptType = i32

The type that the option read and writes.

impl Ord for SendBufferSize[src]

impl PartialEq<SendBufferSize> for SendBufferSize[src]

impl PartialOrd<SendBufferSize> for SendBufferSize[src]

impl SetOpt<SendBufferSize> for Socket[src]

impl StructuralEq for SendBufferSize[src]

impl StructuralPartialEq for SendBufferSize[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> ToString for T where
    T: Display + ?Sized
[src]

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.