Struct unreliable_message::msgqueue::MsgChunk [] [src]

pub struct MsgChunk(pub MsgId, pub PieceNum, pub Vec<u8>);

Trait Implementations

Derived Implementations

impl Clone for MsgChunk

fn clone(&self) -> MsgChunk

fn clone_from(&mut self, source: &Self)

impl Decodable for MsgChunk

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<MsgChunk, __D::Error>

impl Encodable for MsgChunk

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl Debug for MsgChunk

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl PartialEq for MsgChunk

fn eq(&self, __arg_0: &MsgChunk) -> bool

fn ne(&self, __arg_0: &MsgChunk) -> bool

impl Eq for MsgChunk

impl PartialOrd for MsgChunk

fn partial_cmp(&self, __arg_0: &MsgChunk) -> Option<Ordering>

fn lt(&self, __arg_0: &MsgChunk) -> bool

fn le(&self, __arg_0: &MsgChunk) -> bool

fn gt(&self, __arg_0: &MsgChunk) -> bool

fn ge(&self, __arg_0: &MsgChunk) -> bool

impl Ord for MsgChunk

fn cmp(&self, __arg_0: &MsgChunk) -> Ordering

impl Hash for MsgChunk

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher