pub struct ShmTransportConfig {
pub namespace: String,
pub directory: PathBuf,
pub segment_payload_bytes: usize,
pub segment_count: usize,
pub rate_limit: Option<ShmRateLimitConfig>,
}Fields§
§namespace: String§directory: PathBuf§segment_payload_bytes: usize§segment_count: usize§rate_limit: Option<ShmRateLimitConfig>Trait Implementations§
Source§impl Clone for ShmTransportConfig
impl Clone for ShmTransportConfig
Source§fn clone(&self) -> ShmTransportConfig
fn clone(&self) -> ShmTransportConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ShmTransportConfig
impl Debug for ShmTransportConfig
Source§impl Default for ShmTransportConfig
impl Default for ShmTransportConfig
Source§impl PartialEq for ShmTransportConfig
impl PartialEq for ShmTransportConfig
impl Eq for ShmTransportConfig
impl StructuralPartialEq for ShmTransportConfig
Auto Trait Implementations§
impl Freeze for ShmTransportConfig
impl RefUnwindSafe for ShmTransportConfig
impl Send for ShmTransportConfig
impl Sync for ShmTransportConfig
impl Unpin for ShmTransportConfig
impl UnsafeUnpin for ShmTransportConfig
impl UnwindSafe for ShmTransportConfig
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