pub struct Write {
pub characteristic: BluetoothUuid,
pub offset: usize,
pub value: Vec<u8>,
}Expand description
One write within a WriteRequest.
Fields§
§characteristic: BluetoothUuidWhich characteristic is being written.
offset: usizeWhere in the attribute the bytes go.
value: Vec<u8>The bytes.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Write
impl Freeze for Write
impl Move for Write
impl RefUnwindSafe for Write
impl Send for Write
impl Sync for Write
impl Unpin for Write
impl UnsafeUnpin for Write
impl UnwindSafe for Write
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