pub struct Plain;Trait Implementations§
Source§impl Codec for Plain
impl Codec for Plain
const IS_PLAIN: bool = true
type ConnState = ()
fn is_active(_state: &Self::ConnState) -> bool
fn process_inbound(_state: &mut Self::ConnState, _wire_in: &[u8]) -> usize
fn take_plaintext(_state: &mut Self::ConnState) -> Vec<u8> ⓘ
fn install_plaintext(_state: &mut Self::ConnState, _plaintext: Vec<u8>)
fn process_outbound(_state: &mut Self::ConnState, _plaintext_in: &[u8])
fn wire_slice(_state: &Self::ConnState) -> &[u8] ⓘ
fn take_inflight(_state: &mut Self::ConnState) -> Option<(*const u8, u32)>
fn consume_inflight(_state: &mut Self::ConnState, _n: usize) -> bool
fn has_inflight(_state: &Self::ConnState) -> bool
fn close_pending(_state: &Self::ConnState) -> 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