pub enum HandlerKind {
Command,
Query,
Notification,
}Expand description
Kind of handler described by a HandlerRegistration.
Variants§
Command
CommandHandler<C> registration.
Query
QueryHandler<Q> registration.
Notification
NotificationHandler<N> registration.
Trait Implementations§
Source§impl Clone for HandlerKind
impl Clone for HandlerKind
Source§fn clone(&self) -> HandlerKind
fn clone(&self) -> HandlerKind
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 moreSource§impl Debug for HandlerKind
impl Debug for HandlerKind
Source§impl Hash for HandlerKind
impl Hash for HandlerKind
Source§impl PartialEq for HandlerKind
impl PartialEq for HandlerKind
Source§fn eq(&self, other: &HandlerKind) -> bool
fn eq(&self, other: &HandlerKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for HandlerKind
impl Eq for HandlerKind
impl StructuralPartialEq for HandlerKind
Auto Trait Implementations§
impl Freeze for HandlerKind
impl RefUnwindSafe for HandlerKind
impl Send for HandlerKind
impl Sync for HandlerKind
impl Unpin for HandlerKind
impl UnsafeUnpin for HandlerKind
impl UnwindSafe for HandlerKind
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