Searched refs:from_packet (Results 1 – 25 of 37) sorted by relevance
12
25 fn from_packet(buf: PacketBuf<'a>) -> Option<Self> { in from_packet() method66 let pkt = vRun::from_packet(buf).unwrap(); in valid_vRun_foobarbaz()77 let pkt = vRun::from_packet(buf).unwrap(); in valid_vRun_noname()88 let pkt = vRun::from_packet(buf).unwrap(); in valid_vRun_noargs()99 let pkt = vRun::from_packet(buf).unwrap(); in valid_vRun_args()110 assert!(vRun::from_packet(buf).is_none()); in invalid_vRun_args()117 assert!(vRun::from_packet(buf).is_none()); in invalid_vRun()
7 fn from_packet(buf: PacketBuf<'a>) -> Option<Self> { in from_packet() method
9 fn from_packet(buf: PacketBuf<'a>) -> Option<Self> { in from_packet() method
16 fn from_packet(buf: PacketBuf<'a>) -> Option<Self>; in from_packet() method50 pub fn from_packet(75 let cmd = $mod::$command::from_packet(buf)