pub struct VPadding { /* private fields */ }Expand description
A VPadding message is a variable-length padding message.
The correct response to a padding cell is to drop it and do nothing.
Implementations
Trait Implementations
sourceimpl Body for VPadding
impl Body for VPadding
sourcefn into_message(self) -> ChanMsg
fn into_message(self) -> ChanMsg
Convert this type into a ChanMsg, wrapped as appropriate.
sourcefn write_body_onto<W: Writer + ?Sized>(self, w: &mut W) -> EncodeResult<()>
fn write_body_onto<W: Writer + ?Sized>(self, w: &mut W) -> EncodeResult<()>
Consume this message and encode its body onto
w. Read moreAuto Trait Implementations
impl RefUnwindSafe for VPadding
impl Send for VPadding
impl Sync for VPadding
impl Unpin for VPadding
impl UnwindSafe for VPadding
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more