[−][src]Enum srt_protocol::packet::ControlTypes
The different kind of control packets
Variants
Handshake(HandshakeControlInfo)The control packet for initiating connections, type 0x0 Does not use Additional Info
To keep a connection alive Does not use Additional Info or Control Info, type 0x1
Ack(AckControlInfo)ACK packet, type 0x2
NAK packet, type 0x3 Additional Info isn't used The information is stored in the loss compression format, specified in the loss_compression module.
Shutdown packet, type 0x5
Ack2(i32)Acknowledgement of Acknowledgement (ACK2) 0x6 Additional Info (the i32) is the ACK sequence number to acknowldege
Drop request, type 0x7
Fields of DropRequest
Srt(SrtControlPacket)Srt control packets These use the UDT extension type 0xFF
Trait Implementations
impl Clone for ControlTypes[src]
fn clone(&self) -> ControlTypes[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for ControlTypes[src]
impl Eq for ControlTypes[src]
impl PartialEq<ControlTypes> for ControlTypes[src]
fn eq(&self, other: &ControlTypes) -> bool[src]
fn ne(&self, other: &ControlTypes) -> bool[src]
impl StructuralEq for ControlTypes[src]
impl StructuralPartialEq for ControlTypes[src]
Auto Trait Implementations
impl RefUnwindSafe for ControlTypes[src]
impl Send for ControlTypes[src]
impl Sync for ControlTypes[src]
impl Unpin for ControlTypes[src]
impl UnwindSafe for ControlTypes[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,