pub struct AirlockConfig {
pub max_buffer_bytes: usize,
pub timeout_ms: u64,
}Expand description
Airlock configuration
Fields§
§max_buffer_bytes: usizeMaximum buffer size in bytes
timeout_ms: u64Auto-destruct timeout in milliseconds
Trait Implementations§
Source§impl Clone for AirlockConfig
impl Clone for AirlockConfig
Source§fn clone(&self) -> AirlockConfig
fn clone(&self) -> AirlockConfig
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 AirlockConfig
impl Debug for AirlockConfig
Auto Trait Implementations§
impl Freeze for AirlockConfig
impl RefUnwindSafe for AirlockConfig
impl Send for AirlockConfig
impl Sync for AirlockConfig
impl Unpin for AirlockConfig
impl UnsafeUnpin for AirlockConfig
impl UnwindSafe for AirlockConfig
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