#[non_exhaustive]pub enum EngineImportAdviceReadError {
Io {
source: Error,
},
ReportTooLarge {
limit: u64,
},
InvalidJson {
source: Error,
},
}Expand description
Bounded-reader transport/shape failure.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Io
Reading serialized bytes failed.
ReportTooLarge
Serialized input exceeded the fixed pre-decode bound.
InvalidJson
JSON shape or field vocabulary was invalid.
Trait Implementations§
Source§impl Debug for EngineImportAdviceReadError
impl Debug for EngineImportAdviceReadError
Source§impl Error for EngineImportAdviceReadError
impl Error for EngineImportAdviceReadError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for EngineImportAdviceReadError
impl !UnwindSafe for EngineImportAdviceReadError
impl Freeze for EngineImportAdviceReadError
impl Send for EngineImportAdviceReadError
impl Sync for EngineImportAdviceReadError
impl Unpin for EngineImportAdviceReadError
impl UnsafeUnpin for EngineImportAdviceReadError
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