[][src]Trait discortp::PacketSize

pub trait PacketSize: Packet {
    fn packet_size(&self) -> usize;
}

Used to find the calculated size of the packet. This is used for occasions where the underlying buffer is not the same length as the packet itself.

Required methods

fn packet_size(&self) -> usize

Get the calculated size of the packet.

Loading content...

Implementors

impl<'a> PacketSize for IpDiscoveryPacket<'a>[src]

impl<'a> PacketSize for MutableIpDiscoveryPacket<'a>[src]

impl<'a> PacketSize for MutableRtcpPacket<'a>[src]

impl<'a> PacketSize for RtcpPacket<'a>[src]

impl<'a> PacketSize for MutableRtpPacket<'a>[src]

impl<'a> PacketSize for RtpPacket<'a>[src]

Loading content...