[][src]Struct skyway_webrtc_gateway_api::prelude::PhantomId

pub struct PhantomId(_);

It's just a dummy Id data returning None.

There are many similar structs holding SocketAddr and a kind of ID. PhantomId is for a struct which doesn't have id field. It will be set as a generics parameter of SocketInfo.

Trait Implementations

impl Clone for PhantomId[src]

impl Debug for PhantomId[src]

impl PartialEq<PhantomId> for PhantomId[src]

impl StructuralPartialEq for PhantomId[src]

Auto Trait Implementations

impl RefUnwindSafe for PhantomId

impl Send for PhantomId

impl Sync for PhantomId

impl Unpin for PhantomId

impl UnwindSafe for PhantomId

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.