Enum git_packetline::decode::PacketLineOrWantedSize [−][src]
pub enum PacketLineOrWantedSize<'a> {
Line(PacketLineRef<'a>),
Wanted(u16),
}Expand description
The result of hex_prefix() indicating either a special packet line or the amount of wanted bytes
Variants
The special kind of packet line decoded from the hex prefix. It never contains actual data.
Tuple Fields of Line
0: PacketLineRef<'a>The amount of bytes indicated by the hex prefix of the packet line.
Tuple Fields of Wanted
0: u16