pub struct HandlerResult {
pub response: Result<Value, JsonRpcError>,
pub state_changes: ServerStateChanges,
}
Expand description
Result type for command handlers, containing both response and state changes
Fields§
§response: Result<Value, JsonRpcError>
§state_changes: ServerStateChanges
Auto Trait Implementations§
impl Freeze for HandlerResult
impl RefUnwindSafe for HandlerResult
impl Send for HandlerResult
impl Sync for HandlerResult
impl Unpin for HandlerResult
impl UnwindSafe for HandlerResult
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