pub struct ShmConfig {
pub directory: PathBuf,
pub capacity: usize,
}Expand description
How the transport is set up.
Fields§
§directory: PathBufThe directory of the segments: /dev/shm where it exists, else
the temporary directory.
capacity: usizeThe size of the receive buffer, in octets (default 4 MiB). A message larger than a quarter of it cannot be sent this way.
Trait Implementations§
Auto Trait Implementations§
impl Forget for ShmConfig
impl Freeze for ShmConfig
impl Move for ShmConfig
impl RefUnwindSafe for ShmConfig
impl Send for ShmConfigwhere
RawVecInner: Send,
impl Sync for ShmConfigwhere
RawVecInner: Sync,
impl Unpin for ShmConfig
impl UnsafeUnpin for ShmConfig
impl UnwindSafe for ShmConfigwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more