pub struct RpcSvrResp {
pub seq: u64,
pub msg: Option<Vec<u8>>,
pub blob: Option<Buffer>,
pub res: Option<Result<(), EncodedErr>>,
}Expand description
A Struct to hold pre encoded buffer for server response
Fields§
§seq: u64§msg: Option<Vec<u8>>§blob: Option<Buffer>§res: Option<Result<(), EncodedErr>>Trait Implementations§
Source§impl Debug for RpcSvrResp
impl Debug for RpcSvrResp
Source§impl ServerTaskEncode for RpcSvrResp
impl ServerTaskEncode for RpcSvrResp
Auto Trait Implementations§
impl Freeze for RpcSvrResp
impl RefUnwindSafe for RpcSvrResp
impl Send for RpcSvrResp
impl Sync for RpcSvrResp
impl Unpin for RpcSvrResp
impl UnwindSafe for RpcSvrResp
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