pub struct AlertHandle(pub u64);Expand description
Handle for managing active alerts
Opaque handle returned when enabling an alert, used to disable or query the alert status later.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for AlertHandle
impl Clone for AlertHandle
Source§fn clone(&self) -> AlertHandle
fn clone(&self) -> AlertHandle
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AlertHandle
impl Debug for AlertHandle
Source§impl Hash for AlertHandle
impl Hash for AlertHandle
Source§impl PartialEq for AlertHandle
impl PartialEq for AlertHandle
impl Copy for AlertHandle
impl Eq for AlertHandle
impl StructuralPartialEq for AlertHandle
Auto Trait Implementations§
impl Freeze for AlertHandle
impl RefUnwindSafe for AlertHandle
impl Send for AlertHandle
impl Sync for AlertHandle
impl Unpin for AlertHandle
impl UnwindSafe for AlertHandle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more