pub struct FailedResult<T> {
pub message: Message,
pub context: Option<T>,
/* private fields */
}
Expand description
Result of a failed asynchronous task.
Fields§
§message: Message
Information about the error as returned from the server
context: Option<T>
Context information returned from the server
Trait Implementations§
Source§impl<T: Debug> Debug for FailedResult<T>
impl<T: Debug> Debug for FailedResult<T>
Source§impl<'de, T> Deserialize<'de> for FailedResult<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for FailedResult<T>where
T: Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<T> Freeze for FailedResult<T>where
T: Freeze,
impl<T> RefUnwindSafe for FailedResult<T>where
T: RefUnwindSafe,
impl<T> Send for FailedResult<T>where
T: Send,
impl<T> Sync for FailedResult<T>where
T: Sync,
impl<T> Unpin for FailedResult<T>where
T: Unpin,
impl<T> UnwindSafe for FailedResult<T>where
T: UnwindSafe,
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