pub struct CallbackIdentity { /* private fields */ }Expand description
Typed identity of the callback that reported an application issue.
Implementations§
Source§impl CallbackIdentity
impl CallbackIdentity
Sourcepub const fn new(kind: CallbackKind, type_path: &'static str) -> Self
pub const fn new(kind: CallbackKind, type_path: &'static str) -> Self
Construct an identity from its callback class and concrete Rust type.
Sourcepub const fn kind(&self) -> CallbackKind
pub const fn kind(&self) -> CallbackKind
Return the callback class.
Trait Implementations§
Source§impl Clone for CallbackIdentity
impl Clone for CallbackIdentity
Source§fn clone(&self) -> CallbackIdentity
fn clone(&self) -> CallbackIdentity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CallbackIdentity
Source§impl Debug for CallbackIdentity
impl Debug for CallbackIdentity
Source§impl Display for CallbackIdentity
impl Display for CallbackIdentity
impl Eq for CallbackIdentity
Source§impl PartialEq for CallbackIdentity
impl PartialEq for CallbackIdentity
impl StructuralPartialEq for CallbackIdentity
Auto Trait Implementations§
impl Freeze for CallbackIdentity
impl RefUnwindSafe for CallbackIdentity
impl Send for CallbackIdentity
impl Sync for CallbackIdentity
impl Unpin for CallbackIdentity
impl UnsafeUnpin for CallbackIdentity
impl UnwindSafe for CallbackIdentity
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,
Source§impl<T> CustomError for T
impl<T> CustomError for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.