pub enum Packet {
Datagram(Vec<u8>),
Tcp(u64),
}Expand description
What the outlet sends for a part of a push.
Variants§
Datagram(Vec<u8>)
One data datagram, ready to send.
Tcp(u64)
The sample with this number does not fit in one datagram. It goes on
TCP, with its seq record.
Trait Implementations§
impl Eq for Packet
impl StructuralPartialEq for Packet
Auto Trait Implementations§
impl Forget for Packet
impl Freeze for Packet
impl Move for Packet
impl RefUnwindSafe for Packet
impl Send for Packet
impl Sync for Packet
impl Unpin for Packet
impl UnsafeUnpin for Packet
impl UnwindSafe for Packet
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more