Struct rubble::att::NoAttributes [−][src]
pub struct NoAttributes;
Expand description
An empty attribute set.
FIXME: Is this even legal according to the spec?
Trait Implementations
fn for_attrs_in_range(
&mut self,
_range: HandleRange,
_f: impl FnMut(&Self, &Attribute<dyn AsRef<[u8]>>) -> Result<(), Error>
) -> Result<(), Error>
fn for_attrs_in_range(
&mut self,
_range: HandleRange,
_f: impl FnMut(&Self, &Attribute<dyn AsRef<[u8]>>) -> Result<(), Error>
) -> Result<(), Error>
Calls a closure f
with every attribute whose handle is inside range
, ascending. Read more
Returns whether uuid
is a valid grouping attribute type that can be used in Read By
Group Type requests. Read more
Queries the last attribute that is part of the attribute group denoted by the grouping
attribute at handle
. Read more
Retrieves the permissions for the given attribute. Read more
Attempts to write data to the given attribute. Read more
If this read is from dynamic data fill the buffer and return the length of the data. If not return None. Read more
fn prepare_write_attr(
&mut self,
_handle: Handle,
_offset: u16,
_data: &[u8]
) -> Result<(), Error>
fn prepare_write_attr(
&mut self,
_handle: Handle,
_offset: u16,
_data: &[u8]
) -> Result<(), Error>
In order to write data longer than what would fit one write request the procedure is explained in BLUETOOTH CORE SPECIFICATION Version 5.2 | Vol 3, Part F section 3.4.6. Read more
In order to write data longer than what would fit one write request the procedure is explained in BLUETOOTH CORE SPECIFICATION Version 5.2 | Vol 3, Part F section 3.4.6. Read more
fn find_information(
&mut self,
_range: HandleRange,
_responder: &mut Sender<'_>
) -> Result<(), Error>
fn find_information(
&mut self,
_range: HandleRange,
_responder: &mut Sender<'_>
) -> Result<(), Error>
See BLUETOOTH CORE SPECIFICATION Version 5.2 | Vol 3, Part F section 3.4.3.1 on what to implement here.