pub struct WriteResponseParameters<'a> {
pub conn_handle: ConnectionHandle,
pub attribute_handle: AttributeHandle,
pub status: Result<(), Status>,
pub value: &'a [u8],
}
Expand description
Parameters for the Write Response command.
Fields§
§conn_handle: ConnectionHandle
Connection handle for which the command is given
attribute_handle: AttributeHandle
Handle of the attribute that was passed in the Write Permit Request event.
status: Result<(), Status>
Is the command rejected, and if so, why?
value: &'a [u8]
Value as passed in the Write Permit Request event.
Auto Trait Implementations§
impl<'a> Freeze for WriteResponseParameters<'a>
impl<'a> RefUnwindSafe for WriteResponseParameters<'a>
impl<'a> Send for WriteResponseParameters<'a>
impl<'a> Sync for WriteResponseParameters<'a>
impl<'a> Unpin for WriteResponseParameters<'a>
impl<'a> UnwindSafe for WriteResponseParameters<'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