pub enum CallResponse {
Result {
payload: Value,
responded_by: [u8; 32],
},
Error {
code: u8,
name: String,
reported_by: [u8; 32],
detail: Option<String>,
},
}Expand description
Parsed fields of a RESULT or ERROR response to a CALL, correlated by
call_id. Returned by crate::connection::Session::call.
Variants§
Trait Implementations§
Source§impl Clone for CallResponse
impl Clone for CallResponse
Source§fn clone(&self) -> CallResponse
fn clone(&self) -> CallResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CallResponse
impl RefUnwindSafe for CallResponse
impl Send for CallResponse
impl Sync for CallResponse
impl Unpin for CallResponse
impl UnsafeUnpin for CallResponse
impl UnwindSafe for CallResponse
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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