pub enum SchemaError<WireErr> {
Comms(HostErr<WireErr>),
TaskError,
InvalidReportData,
LostData,
}
Expand description
Errors related to retrieving the schema
Variants§
Comms(HostErr<WireErr>)
Some kind of communication error occurred
TaskError
An error occurred internally. Please open an issue.
InvalidReportData
Invalid report data was received, including endpoints or tasks that referred to unknown types. Please open an issue
LostData
Data was lost while transmitting. If a retry does not solve this, please open an issue.
Trait Implementations§
Source§impl<WireErr: Debug> Debug for SchemaError<WireErr>
impl<WireErr: Debug> Debug for SchemaError<WireErr>
Source§impl<WireErr> From<UnableToFindType> for SchemaError<WireErr>
impl<WireErr> From<UnableToFindType> for SchemaError<WireErr>
Source§fn from(_: UnableToFindType) -> Self
fn from(_: UnableToFindType) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<WireErr> Freeze for SchemaError<WireErr>where
WireErr: Freeze,
impl<WireErr> RefUnwindSafe for SchemaError<WireErr>where
WireErr: RefUnwindSafe,
impl<WireErr> Send for SchemaError<WireErr>where
WireErr: Send,
impl<WireErr> Sync for SchemaError<WireErr>where
WireErr: Sync,
impl<WireErr> Unpin for SchemaError<WireErr>where
WireErr: Unpin,
impl<WireErr> UnwindSafe for SchemaError<WireErr>where
WireErr: 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