pub enum MiddlewareResult {
Continue,
Reject(JsonRpcError),
}Expand description
Result of middleware processing.
Variants§
Auto Trait Implementations§
impl Freeze for MiddlewareResult
impl RefUnwindSafe for MiddlewareResult
impl Send for MiddlewareResult
impl Sync for MiddlewareResult
impl Unpin for MiddlewareResult
impl UnsafeUnpin for MiddlewareResult
impl UnwindSafe for MiddlewareResult
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