[][src]Struct ironoxide::user::DeviceCreateOpts

pub struct DeviceCreateOpts { /* fields omitted */ }

Options for device creation.

Default values are provided with DeviceCreateOpts::default()

Implementations

impl DeviceCreateOpts[src]

pub fn new(device_name: Option<DeviceName>) -> DeviceCreateOpts[src]

Arguments

  • device_name
    • None (default) - The device will be created with no name.
    • Some - The provided name will be used as the device's name.

Trait Implementations

impl Clone for DeviceCreateOpts[src]

impl Debug for DeviceCreateOpts[src]

impl Default for DeviceCreateOpts[src]

pub fn default() -> Self[src]

Default DeviceCreateOpts for common use cases.

The device will be created with no name.

impl Eq for DeviceCreateOpts[src]

impl Hash for DeviceCreateOpts[src]

impl PartialEq<DeviceCreateOpts> for DeviceCreateOpts[src]

impl StructuralEq for DeviceCreateOpts[src]

impl StructuralPartialEq for DeviceCreateOpts[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> Clear for T where
    T: InitializableFromZeroed + ?Sized

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> InitializableFromZeroed for T where
    T: Default

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,