pub struct PeerErrorPacket {
pub error_code: u32,
pub timestamp: u32,
pub dest_socket_id: u32,
}Expand description
Peer Error control packet (§3.2.10, Figure 19). No CIF.
Fields§
§error_code: u32Peer error code (see PEER_ERROR_FILE_SYSTEM).
timestamp: u32Timestamp (§3).
dest_socket_id: u32Destination Socket ID (§3).
Trait Implementations§
Source§impl Clone for PeerErrorPacket
impl Clone for PeerErrorPacket
Source§fn clone(&self) -> PeerErrorPacket
fn clone(&self) -> PeerErrorPacket
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PeerErrorPacket
Source§impl Debug for PeerErrorPacket
impl Debug for PeerErrorPacket
impl Eq for PeerErrorPacket
Source§impl Hash for PeerErrorPacket
impl Hash for PeerErrorPacket
Source§impl PartialEq for PeerErrorPacket
impl PartialEq for PeerErrorPacket
Source§fn eq(&self, other: &PeerErrorPacket) -> bool
fn eq(&self, other: &PeerErrorPacket) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PeerErrorPacket
impl Serialize for PeerErrorPacket
impl StructuralPartialEq for PeerErrorPacket
Auto Trait Implementations§
impl Freeze for PeerErrorPacket
impl RefUnwindSafe for PeerErrorPacket
impl Send for PeerErrorPacket
impl Sync for PeerErrorPacket
impl Unpin for PeerErrorPacket
impl UnsafeUnpin for PeerErrorPacket
impl UnwindSafe for PeerErrorPacket
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