pub struct WriteRequest<'a> {
pub conn_handle: ConnectionHandle,
pub attribute_handle: AttributeHandle,
pub offset: usize,
pub value: &'a [u8],
}
Expand description
Parameters for the Prepare Write Request command.
Fields§
§conn_handle: ConnectionHandle
Connection handle for which the command is given.
attribute_handle: AttributeHandle
Handle of the attribute whose value has to be written
offset: usize
The offset at which value has to be written
value: &'a [u8]
Value of the attribute to be written
Auto Trait Implementations§
impl<'a> Freeze for WriteRequest<'a>
impl<'a> RefUnwindSafe for WriteRequest<'a>
impl<'a> Send for WriteRequest<'a>
impl<'a> Sync for WriteRequest<'a>
impl<'a> Unpin for WriteRequest<'a>
impl<'a> UnwindSafe for WriteRequest<'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