[][src]Struct turbulence::message_channels::MessageChannelSettings

pub struct MessageChannelSettings {
    pub channel: PacketChannel,
    pub channel_mode: MessageChannelMode,
    pub message_buffer_size: usize,
    pub packet_buffer_size: usize,
}

Fields

channel: PacketChannelchannel_mode: MessageChannelModemessage_buffer_size: usize

The buffer size for the mpsc channel of messages that transports messages of this type to / from the network task.

packet_buffer_size: usize

The buffer size for the mpsc channel of packets for this message type that transports packets to / from the packet multiplexer.

Trait Implementations

impl Debug for MessageChannelSettings[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, 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.