[][src]Struct emu_core::pool::DevicePoolMember

pub struct DevicePoolMember {
    pub device: Mutex<Device>,
    pub device_info: Option<DeviceInfo>,
}

Represents a member of the device pool

This holds both a mutex to a Device and information about the device. You must create instances of DevicePoolMember to construct your own custom device pool using pool.

Fields

device: Mutex<Device>device_info: Option<DeviceInfo>

Trait Implementations

impl From<(Mutex<Device>, Option<DeviceInfo>)> for DevicePoolMember[src]

impl From<DevicePoolMember> for (Mutex<Device>, Option<DeviceInfo>)[src]

Auto Trait Implementations

impl RefUnwindSafe for DevicePoolMember

impl Send for DevicePoolMember

impl Sync for DevicePoolMember

impl Unpin for DevicePoolMember

impl UnwindSafe for DevicePoolMember

Blanket Implementations

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

impl<T, U> AsDeviceBoxed<T> for U where
    T: AsBytes + ?Sized,
    U: Borrow<T>, 
[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.