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: WireTxImplThe frame sender
rx: WireRxImplThe frame receiver
buf: usizeThe size of the receive buffer
kkind: VarKeyKindThe 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