Struct chik_protocol::RequestPeers
source · pub struct RequestPeers {}Implementations§
source§impl RequestPeers
impl RequestPeers
pub fn new() -> RequestPeers
Trait Implementations§
source§impl ChikProtocolMessage for RequestPeers
impl ChikProtocolMessage for RequestPeers
fn msg_type() -> ProtocolMessageTypes
source§impl Clone for RequestPeers
impl Clone for RequestPeers
source§fn clone(&self) -> RequestPeers
fn clone(&self) -> RequestPeers
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 RequestPeers
impl Debug for RequestPeers
source§impl Default for RequestPeers
impl Default for RequestPeers
source§impl Hash for RequestPeers
impl Hash for RequestPeers
source§impl PartialEq for RequestPeers
impl PartialEq for RequestPeers
source§fn eq(&self, other: &RequestPeers) -> bool
fn eq(&self, other: &RequestPeers) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Streamable for RequestPeers
impl Streamable for RequestPeers
fn update_digest(&self, _digest: &mut Sha256)
fn stream(&self, _out: &mut Vec<u8>) -> Result<()>
fn parse<const TRUSTED: bool>(_input: &mut Cursor<&[u8]>) -> Result<Self>
fn to_bytes(&self) -> Result<Vec<u8>, Error>
fn from_bytes(bytes: &[u8]) -> Result<Self, Error>where
Self: Sized,
fn from_bytes_unchecked(bytes: &[u8]) -> Result<Self, Error>where
Self: Sized,
fn hash(&self) -> [u8; 32]
impl Eq for RequestPeers
impl StructuralPartialEq for RequestPeers
Auto Trait Implementations§
impl Freeze for RequestPeers
impl RefUnwindSafe for RequestPeers
impl Send for RequestPeers
impl Sync for RequestPeers
impl Unpin for RequestPeers
impl UnwindSafe for RequestPeers
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