pub enum ConnectionHandleToNotify {
NotifyAll,
NotifyOneUnenhanced(ConnectionHandle),
NotifyOneEnhanced(ConnectionHandle),
}
Variants§
NotifyAll
Notify all subscribed clients on their unenhanced ATT bearer
NotifyOneUnenhanced(ConnectionHandle)
Notify one client on the specified unenhanced ATT bearer (the parameter us the connection handle) (0x0001 .. 0x0EFF)
NotifyOneEnhanced(ConnectionHandle)
Notfiy one client on the specified enhanced ATT bearer (the LST-byte of the parameter is the connection-oriented channel index) (0xEA00 .. 0xEA1F)
Trait Implementations§
Source§impl Clone for ConnectionHandleToNotify
impl Clone for ConnectionHandleToNotify
Source§fn clone(&self) -> ConnectionHandleToNotify
fn clone(&self) -> ConnectionHandleToNotify
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for ConnectionHandleToNotify
Auto Trait Implementations§
impl Freeze for ConnectionHandleToNotify
impl RefUnwindSafe for ConnectionHandleToNotify
impl Send for ConnectionHandleToNotify
impl Sync for ConnectionHandleToNotify
impl Unpin for ConnectionHandleToNotify
impl UnwindSafe for ConnectionHandleToNotify
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