[][src]Enum surfman::platform::generic::multi::connection::NativeConnection

pub enum NativeConnection<Def, Alt> where
    Def: DeviceInterface,
    Alt: DeviceInterface,
    Def::Connection: ConnectionInterface,
    Alt::Connection: ConnectionInterface
{ Default(<Def::Connection as ConnectionInterface>::NativeConnection), Alternate(<Alt::Connection as ConnectionInterface>::NativeConnection), }

The native connection type.

Variants

The default native connection type.

The alternate native connection type.

Auto Trait Implementations

impl<Def, Alt> RefUnwindSafe for NativeConnection<Def, Alt> where
    <<Alt as Device>::Connection as Connection>::NativeConnection: RefUnwindSafe,
    <<Def as Device>::Connection as Connection>::NativeConnection: RefUnwindSafe

impl<Def, Alt> Send for NativeConnection<Def, Alt> where
    <<Alt as Device>::Connection as Connection>::NativeConnection: Send,
    <<Def as Device>::Connection as Connection>::NativeConnection: Send

impl<Def, Alt> Sync for NativeConnection<Def, Alt> where
    <<Alt as Device>::Connection as Connection>::NativeConnection: Sync,
    <<Def as Device>::Connection as Connection>::NativeConnection: Sync

impl<Def, Alt> Unpin for NativeConnection<Def, Alt> where
    <<Alt as Device>::Connection as Connection>::NativeConnection: Unpin,
    <<Def as Device>::Connection as Connection>::NativeConnection: Unpin

impl<Def, Alt> UnwindSafe for NativeConnection<Def, Alt> where
    <<Alt as Device>::Connection as Connection>::NativeConnection: UnwindSafe,
    <<Def as Device>::Connection as Connection>::NativeConnection: UnwindSafe

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, 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.