Struct tor_cell::chancell::msg::PaddingNegotiateCmd
source · pub struct PaddingNegotiateCmd(_);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.0.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<PaddingNegotiateCmd> for PaddingNegotiateCmd
impl PartialEq<PaddingNegotiateCmd> for PaddingNegotiateCmd
source§fn eq(&self, other: &PaddingNegotiateCmd) -> bool
fn eq(&self, other: &PaddingNegotiateCmd) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for PaddingNegotiateCmd
impl Eq for PaddingNegotiateCmd
impl StructuralEq for PaddingNegotiateCmd
impl StructuralPartialEq for PaddingNegotiateCmd
Auto Trait Implementations§
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.