pub enum MethodType {
Unary,
Producer,
Exchange,
Dynamic,
}Expand description
Identifies the dispatch kind of a registered method.
Variants§
Trait Implementations§
Source§impl Clone for MethodType
impl Clone for MethodType
Source§fn clone(&self) -> MethodType
fn clone(&self) -> MethodType
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 MethodType
Source§impl Debug for MethodType
impl Debug for MethodType
impl Eq for MethodType
Source§impl PartialEq for MethodType
impl PartialEq for MethodType
Source§fn eq(&self, other: &MethodType) -> bool
fn eq(&self, other: &MethodType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MethodType
Auto Trait Implementations§
impl Freeze for MethodType
impl RefUnwindSafe for MethodType
impl Send for MethodType
impl Sync for MethodType
impl Unpin for MethodType
impl UnsafeUnpin for MethodType
impl UnwindSafe for MethodType
Blanket Implementations§
impl<T> Allocation for T
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