pub struct DescriptorValueParameters<'a> {
pub service_handle: AttributeHandle,
pub characteristic_handle: AttributeHandle,
pub descriptor_handle: AttributeHandle,
pub offset: usize,
pub value: &'a [u8],
}
Expand description
Parameters for the Set Descriptor Value command.
Fields§
§service_handle: AttributeHandle
Handle of the service which contains the descriptor.
characteristic_handle: AttributeHandle
Handle of the characteristic which contains the descriptor.
descriptor_handle: AttributeHandle
Handle of the descriptor whose value has to be set.
offset: usize
Offset from which the descriptor value has to be updated.
value: &'a [u8]
Descriptor value
Auto Trait Implementations§
impl<'a> Freeze for DescriptorValueParameters<'a>
impl<'a> RefUnwindSafe for DescriptorValueParameters<'a>
impl<'a> Send for DescriptorValueParameters<'a>
impl<'a> Sync for DescriptorValueParameters<'a>
impl<'a> Unpin for DescriptorValueParameters<'a>
impl<'a> UnwindSafe for DescriptorValueParameters<'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