pub enum ReplyPayload<'a> {
Result(&'a RawValue),
Error {
code: i64,
message: &'a str,
},
}Expand description
The undecoded half of a reply.
No PartialEq, for the reason on WireError.
Variants§
Trait Implementations§
Source§impl<'a> Clone for ReplyPayload<'a>
impl<'a> Clone for ReplyPayload<'a>
Auto Trait Implementations§
impl<'a> Freeze for ReplyPayload<'a>
impl<'a> RefUnwindSafe for ReplyPayload<'a>
impl<'a> Send for ReplyPayload<'a>
impl<'a> Sync for ReplyPayload<'a>
impl<'a> Unpin for ReplyPayload<'a>
impl<'a> UnsafeUnpin for ReplyPayload<'a>
impl<'a> UnwindSafe for ReplyPayload<'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