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
impl Clone for UnixConfig
[src]
impl Clone for UnixConfig
[src]fn clone(&self) -> UnixConfig
[src]
fn clone(&self) -> UnixConfig
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for UnixConfig
[src]
impl Debug for UnixConfig
[src]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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more