pub enum MessageRouterType {
Default(DefaultMessageRouter),
}Expand description
Router enum to replace trait objects
Variants§
Default(DefaultMessageRouter)
Trait Implementations§
Source§impl Clone for MessageRouterType
impl Clone for MessageRouterType
Source§fn clone(&self) -> MessageRouterType
fn clone(&self) -> MessageRouterType
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for MessageRouterType
impl !RefUnwindSafe for MessageRouterType
impl Send for MessageRouterType
impl Sync for MessageRouterType
impl Unpin for MessageRouterType
impl !UnwindSafe for MessageRouterType
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