pub struct Settings {
pub tx: WireTxImpl,
pub rx: WireRxImpl,
pub buf: usize,
pub kkind: VarKeyKind,
}
Expand description
The settings necessary for creating a new channel server
Fields§
§tx: WireTxImpl
The frame sender
rx: WireRxImpl
The frame receiver
buf: usize
The size of the receive buffer
kkind: VarKeyKind
The sender key size to use
Auto Trait Implementations§
impl Freeze for Settings
impl !RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl !UnwindSafe for Settings
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