pub struct DisplayService {
pub command: Characteristic<Vec<u8, 16>>,
pub status: Characteristic<Vec<u8, 16>>,
/* private fields */
}Fields§
§command: Characteristic<Vec<u8, 16>>Commande envoyée par le client (écriture avec ou sans réponse).
status: Characteristic<Vec<u8, 16>>État courant de l’appareil, lisible et notifiable.
Implementations§
Source§impl DisplayService
impl DisplayService
pub const ATTRIBUTE_COUNT: usize = 6usize
pub const CCCD_COUNT: usize = 1usize
pub fn new<M, const MAX_ATTRIBUTES: usize>(
table: &mut AttributeTable<'_, M, MAX_ATTRIBUTES>,
) -> Selfwhere
M: RawMutex,
pub fn handle_range(&self) -> Range<u16> ⓘ
Auto Trait Implementations§
impl Freeze for DisplayService
impl RefUnwindSafe for DisplayService
impl Send for DisplayService
impl Sync for DisplayService
impl Unpin for DisplayService
impl UnsafeUnpin for DisplayService
impl UnwindSafe for DisplayService
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