[][src]Struct srtp2_sys::srtp_event_data_t

#[repr(C)]pub struct srtp_event_data_t {
    pub session: srtp_t,
    pub ssrc: u32,
    pub event: srtp_event_t,
}

@brief srtp_event_data_t is the structure passed as a callback to the event handler function

The struct srtp_event_data_t holds the data passed to the event handler function.

Fields

session: srtp_t

< The session in which the event happend.

ssrc: u32

< The ssrc in host order of the stream in which */

event: srtp_event_t

< An enum indicating the type of event.

Trait Implementations

impl Clone for srtp_event_data_t[src]

impl Copy for srtp_event_data_t[src]

impl Debug for srtp_event_data_t[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.