pub struct OutgoingRpcResponseMessage<'a> {
pub result: Result<Box<dyn ErasedSerialize>, RpcError>,
pub request_id: &'a str,
pub request_type: &'a str,
}
Fields§
§result: Result<Box<dyn ErasedSerialize>, RpcError>
§request_id: &'a str
§request_type: &'a str
Trait Implementations§
Source§impl<'a> PayloadTypeName for OutgoingRpcResponseMessage<'a>
impl<'a> PayloadTypeName for OutgoingRpcResponseMessage<'a>
const PAYLOAD_TYPE_NAME: &'static str = "RpcResponseMessage"
Auto Trait Implementations§
impl<'a> Freeze for OutgoingRpcResponseMessage<'a>
impl<'a> !RefUnwindSafe for OutgoingRpcResponseMessage<'a>
impl<'a> !Send for OutgoingRpcResponseMessage<'a>
impl<'a> !Sync for OutgoingRpcResponseMessage<'a>
impl<'a> Unpin for OutgoingRpcResponseMessage<'a>
impl<'a> !UnwindSafe for OutgoingRpcResponseMessage<'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