pub struct PaddingNegotiateCmd(/* private fields */);Expand description
A ChanCmd is the type of a channel cell. The value of the ChanCmd indicates the meaning of the cell, and (possibly) its length.
Implementations§
source§impl PaddingNegotiateCmd
impl PaddingNegotiateCmd
sourcepub const START: PaddingNegotiateCmd = _
pub const START: PaddingNegotiateCmd = _
Start padding
sourcepub const STOP: PaddingNegotiateCmd = _
pub const STOP: PaddingNegotiateCmd = _
Stop padding
sourcepub fn is_recognized(self) -> bool
pub fn is_recognized(self) -> bool
Return true if this value is one that we recognize.
Trait Implementations§
source§impl Clone for PaddingNegotiateCmd
impl Clone for PaddingNegotiateCmd
source§fn clone(&self) -> PaddingNegotiateCmd
fn clone(&self) -> PaddingNegotiateCmd
Returns a copy of the value. Read more
1.6.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for PaddingNegotiateCmd
impl Debug for PaddingNegotiateCmd
source§impl Display for PaddingNegotiateCmd
impl Display for PaddingNegotiateCmd
source§impl From<PaddingNegotiateCmd> for u8
impl From<PaddingNegotiateCmd> for u8
source§fn from(val: PaddingNegotiateCmd) -> u8
fn from(val: PaddingNegotiateCmd) -> u8
Converts to this type from the input type.
source§impl From<u8> for PaddingNegotiateCmd
impl From<u8> for PaddingNegotiateCmd
source§fn from(num: u8) -> PaddingNegotiateCmd
fn from(num: u8) -> PaddingNegotiateCmd
Converts to this type from the input type.
source§impl PartialEq for PaddingNegotiateCmd
impl PartialEq for PaddingNegotiateCmd
impl Copy for PaddingNegotiateCmd
impl Eq for PaddingNegotiateCmd
impl StructuralPartialEq for PaddingNegotiateCmd
Auto Trait Implementations§
impl Freeze for PaddingNegotiateCmd
impl RefUnwindSafe for PaddingNegotiateCmd
impl Send for PaddingNegotiateCmd
impl Sync for PaddingNegotiateCmd
impl Unpin for PaddingNegotiateCmd
impl UnwindSafe for PaddingNegotiateCmd
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more