pub(super) enum Handler<'a> {
Pubsub(PubSubRPCMethod<'a>),
Rpc(RPCMethod<'a>),
None,
}Expand description
Resolved handler for a request. Holds whichever method matched.
Variants§
Auto Trait Implementations§
impl<'a> Freeze for Handler<'a>
impl<'a> !RefUnwindSafe for Handler<'a>
impl<'a> Send for Handler<'a>
impl<'a> !Sync for Handler<'a>
impl<'a> Unpin for Handler<'a>
impl<'a> UnsafeUnpin for Handler<'a>
impl<'a> !UnwindSafe for Handler<'a>
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