#[non_exhaustive]pub struct Drop {}
Expand description
A padding message, which is always ignored.
Trait Implementations§
source§impl Body for Drop
impl Body for Drop
source§fn decode_from_reader(_r: &mut Reader<'_>) -> Result<Self>
fn decode_from_reader(_r: &mut Reader<'_>) -> Result<Self>
Decode a relay cell body from a provided reader.
source§fn encode_onto<W: Writer + ?Sized>(self, _w: &mut W) -> EncodeResult<()>
fn encode_onto<W: Writer + ?Sized>(self, _w: &mut W) -> EncodeResult<()>
Encode the body of this cell into the end of a writer.
source§impl From<Drop> for AnyRelayMsg
impl From<Drop> for AnyRelayMsg
source§fn from(m: Drop) -> AnyRelayMsg
fn from(m: Drop) -> AnyRelayMsg
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Drop
impl RefUnwindSafe for Drop
impl Send for Drop
impl Sync for Drop
impl Unpin for Drop
impl UnwindSafe for Drop
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