Struct bluez_async::WriteOptions[][src]

pub struct WriteOptions {
    pub offset: usize,
    pub write_type: Option<WriteType>,
}

A set of options for a characteristic write operation.

Fields

offset: usize

The starting offset of the write operation.

write_type: Option<WriteType>

The type of write operation to use.

Note that a given characteristic may not support all different types of write operations; you can check with CharacteristicInfo.flags. The type of write operation will also affect the maximum possible length of data which can be written in a single operation.

Trait Implementations

impl Clone for WriteOptions[src]

impl Copy for WriteOptions[src]

impl Debug for WriteOptions[src]

impl Default for WriteOptions[src]

impl Eq for WriteOptions[src]

impl Into<HashMap<String, Variant<Box<dyn RefArg + 'static, Global>>, RandomState>> for WriteOptions[src]

impl PartialEq<WriteOptions> for WriteOptions[src]

impl StructuralEq for WriteOptions[src]

impl StructuralPartialEq for WriteOptions[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> 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.