Struct mediasoup::data_structures::AppData[][src]

pub struct AppData(_);

Container for arbitrary data attached to mediasoup entities.

Implementations

impl AppData[src]

pub fn new<T: Any + Send + Sync>(app_data: T) -> Self[src]

Construct app data from almost anything

Methods from Deref<Target = Arc<dyn Any + Send + Sync>>

Trait Implementations

impl Clone for AppData[src]

impl Debug for AppData[src]

impl Default for AppData[src]

impl Deref for AppData[src]

type Target = Arc<dyn Any + Send + Sync>

The resulting type after dereferencing.

impl DerefMut for AppData[src]

Auto Trait Implementations

impl !RefUnwindSafe for AppData

impl Send for AppData

impl Sync for AppData

impl Unpin for AppData

impl !UnwindSafe for AppData

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.