Lines Matching refs:unmarshal
57 pub fn unmarshal<B>(raw_data: &mut B) -> Result<Vec<Box<dyn Packet + Send + Sync>>> in unmarshal() function
83 let h = Header::unmarshal(raw_data)?; in unmarshaller()
93 PacketType::SenderReport => Box::new(SenderReport::unmarshal(&mut in_packet)?), in unmarshaller()
94 PacketType::ReceiverReport => Box::new(ReceiverReport::unmarshal(&mut in_packet)?), in unmarshaller()
95 PacketType::SourceDescription => Box::new(SourceDescription::unmarshal(&mut in_packet)?), in unmarshaller()
96 PacketType::Goodbye => Box::new(Goodbye::unmarshal(&mut in_packet)?), in unmarshaller()
99 FORMAT_TLN => Box::new(TransportLayerNack::unmarshal(&mut in_packet)?), in unmarshaller()
100 FORMAT_RRR => Box::new(RapidResynchronizationRequest::unmarshal(&mut in_packet)?), in unmarshaller()
101 FORMAT_TCC => Box::new(TransportLayerCc::unmarshal(&mut in_packet)?), in unmarshaller()
102 _ => Box::new(RawPacket::unmarshal(&mut in_packet)?), in unmarshaller()
105 FORMAT_PLI => Box::new(PictureLossIndication::unmarshal(&mut in_packet)?), in unmarshaller()
106 FORMAT_SLI => Box::new(SliceLossIndication::unmarshal(&mut in_packet)?), in unmarshaller()
107 FORMAT_REMB => Box::new(ReceiverEstimatedMaximumBitrate::unmarshal(&mut in_packet)?), in unmarshaller()
108 FORMAT_FIR => Box::new(FullIntraRequest::unmarshal(&mut in_packet)?), in unmarshaller()
109 _ => Box::new(RawPacket::unmarshal(&mut in_packet)?), in unmarshaller()
111 PacketType::ExtendedReport => Box::new(ExtendedReport::unmarshal(&mut in_packet)?), in unmarshaller()
112 _ => Box::new(RawPacket::unmarshal(&mut in_packet)?), in unmarshaller()
156 let packet = unmarshal(&mut data).expect("Error unmarshalling packets"); in test_packet_unmarshal()
210 let result = unmarshal(&mut Bytes::new()); in test_packet_unmarshal_empty()
229 let result = unmarshal(&mut data); in test_packet_invalid_header_length()
265 unmarshal(&mut test)?; in test_packet_unmarshal_firefox()