pub struct Plain;Trait Implementations§
Source§impl CodecLayer for Plain
impl CodecLayer for Plain
const IS_PASSTHROUGH: bool = true
type ConnState = ()
type Staging = ()
fn is_active(_: &()) -> bool
fn process_inbound(_: &mut (), _: &[u8])
fn process_outbound(_: &mut (), _: &[u8])
fn take_plaintext(_: &mut ()) -> Vec<u8> ⓘ
fn install_plaintext(_: &mut (), _: Vec<u8>)
fn take_inflight(_: &mut ()) -> Option<(*const u8, u32)>
fn consume_inflight(_: &mut (), _: usize) -> bool
fn has_inflight(_: &()) -> bool
fn wire_slice(_: &()) -> &[u8] ⓘ
fn close_pending(_: &()) -> bool
Auto Trait Implementations§
impl Freeze for Plain
impl RefUnwindSafe for Plain
impl Send for Plain
impl Sync for Plain
impl Unpin for Plain
impl UnsafeUnpin for Plain
impl UnwindSafe for Plain
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