Enum jsonrpc_v2::ResponseObject
source · pub enum ResponseObject {
Result {
jsonrpc: V2,
result: Box<dyn Serialize + Send>,
id: Id,
},
Error {
jsonrpc: V2,
error: Error,
id: Id,
},
}
Expand description
The individual response object
Variants§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ResponseObject
impl Send for ResponseObject
impl !Sync for ResponseObject
impl Unpin for ResponseObject
impl !UnwindSafe for ResponseObject
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