pub struct LongCharacteristicValue<'a> {
pub conn_handle: ConnectionHandle,
pub characteristic_handle: AttributeHandle,
pub offset: usize,
pub value: &'a [u8],
}
Expand description
Parameters for the Write Long Characteristic Value command.
Fields§
§conn_handle: ConnectionHandle
Connection handle for which the command is given.
characteristic_handle: AttributeHandle
Handle of the characteristic to be written.
offset: usize
Offset at which the attribute has to be written.
value: &'a [u8]
Value to be written. The maximum length is 248 bytes.
Auto Trait Implementations§
impl<'a> Freeze for LongCharacteristicValue<'a>
impl<'a> RefUnwindSafe for LongCharacteristicValue<'a>
impl<'a> Send for LongCharacteristicValue<'a>
impl<'a> Sync for LongCharacteristicValue<'a>
impl<'a> Unpin for LongCharacteristicValue<'a>
impl<'a> UnwindSafe for LongCharacteristicValue<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more