pub struct SideBandPacket {
pub channel: SideBandChannel,
pub data: Vec<u8>,
}Fields§
§channel: SideBandChannel§data: Vec<u8>Trait Implementations§
Source§impl Clone for SideBandPacket
impl Clone for SideBandPacket
Source§fn clone(&self) -> SideBandPacket
fn clone(&self) -> SideBandPacket
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 moreSource§impl Debug for SideBandPacket
impl Debug for SideBandPacket
impl Eq for SideBandPacket
Source§impl PartialEq for SideBandPacket
impl PartialEq for SideBandPacket
Source§fn eq(&self, other: &SideBandPacket) -> bool
fn eq(&self, other: &SideBandPacket) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SideBandPacket
Auto Trait Implementations§
impl Freeze for SideBandPacket
impl RefUnwindSafe for SideBandPacket
impl Send for SideBandPacket
impl Sync for SideBandPacket
impl Unpin for SideBandPacket
impl UnsafeUnpin for SideBandPacket
impl UnwindSafe for SideBandPacket
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