pub struct Attribute<T>where
T: ?Sized,{
pub att_type: AttUuid,
pub handle: Handle,
pub value: T,
}Expand description
An ATT server attribute
Fields§
§att_type: AttUuidThe type of the attribute as a UUID16, EG “Primary Service” or “Anaerobic Heart Rate Lower Limit”
handle: HandleUnique server-side identifer for attribute
value: TAttribute values can be any fixed length or variable length octet array, which if too large can be sent across multiple PDUs
Implementations§
Auto Trait Implementations§
impl<T> Freeze for Attribute<T>
impl<T> RefUnwindSafe for Attribute<T>where
T: RefUnwindSafe + ?Sized,
impl<T> Send for Attribute<T>
impl<T> Sync for Attribute<T>
impl<T> Unpin for Attribute<T>
impl<T> UnwindSafe for Attribute<T>where
T: UnwindSafe + ?Sized,
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