Enum jsonrpc_v2::ResponseObjects
source · pub enum ResponseObjects {
One(ResponseObject),
Many(Vec<ResponseObject>),
Empty,
}
Expand description
Container for the response object(s) or Empty
for notification request(s)
Variants§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ResponseObjects
impl Send for ResponseObjects
impl !Sync for ResponseObjects
impl Unpin for ResponseObjects
impl !UnwindSafe for ResponseObjects
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