[][src]Struct bluenrg::gatt::CharacteristicValue

pub struct CharacteristicValue<'a> {
    pub conn_handle: ConnectionHandle,
    pub characteristic_handle: CharacteristicHandle,
    pub value: &'a [u8],
}

Parameters for the Write Characteristic Value command.

Fields

conn_handle: ConnectionHandle

Connection handle for which the command is given.

characteristic_handle: CharacteristicHandle

Handle of the characteristic to be written.

value: &'a [u8]

Value to be written. The maximum length is 250 bytes.

Auto Trait Implementations

impl<'a> Send for CharacteristicValue<'a>

impl<'a> Sync for CharacteristicValue<'a>

impl<'a> Unpin for CharacteristicValue<'a>

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.