pub struct MsgChunk(pub MsgId, pub PieceNum, pub Vec<u8>);Tuple Fields§
§0: MsgId§1: PieceNum§2: Vec<u8>Trait Implementations§
Source§impl Ord for MsgChunk
impl Ord for MsgChunk
Source§impl PartialOrd for MsgChunk
impl PartialOrd for MsgChunk
impl Eq for MsgChunk
impl StructuralPartialEq for MsgChunk
Auto Trait Implementations§
impl Freeze for MsgChunk
impl RefUnwindSafe for MsgChunk
impl Send for MsgChunk
impl Sync for MsgChunk
impl Unpin for MsgChunk
impl UnwindSafe for MsgChunk
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)