Struct fizyr_rpc::UnixConfig [−][src]
pub struct UnixConfig {
pub max_body_len_read: u32,
pub max_body_len_write: u32,
pub max_fds_read: u32,
pub max_fds_write: u32,
}
Expand description
Configuration for Unix datagram transports.
Fields
max_body_len_read: u32
The maximum body size for incoming messages.
If a message arrives with a larger body size, an error is returned and the message itself is dropped.
Datagram transports remain usable when a message is dropped.
max_body_len_write: u32
The maximum body size for outgoing messages.
If a message is given for sending with a larger body than this size, the message is discarded and an error is returned.
Datagram transports remain usable when a message is dropped.
max_fds_read: u32
The maximum number of attached file descriptors when reading messages.
max_fds_write: u32
The maximum number of attached file descriptors for sending messages.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for UnixConfig
impl Send for UnixConfig
impl Sync for UnixConfig
impl Unpin for UnixConfig
impl UnwindSafe for UnixConfig
Blanket Implementations
Mutably borrows from an owned value. Read more