pub enum RendererError {
Show 14 variants
ShuttingDown,
Start(Error),
MissingPipe,
Io(Error),
Exited,
Serialize(Error),
InvalidResponse(Error),
ProtocolMismatch {
expected_id: u64,
actual_id: u64,
protocol: u8,
},
InvalidStreamFrame(String),
Cancelled,
Rejected(String),
Timeout(Duration),
ContractMismatch {
expected: String,
actual: Option<String>,
},
AssetVersionMismatch {
expected: String,
actual: Option<String>,
},
}Variants§
ShuttingDown
Start(Error)
MissingPipe
Io(Error)
Exited
Serialize(Error)
InvalidResponse(Error)
ProtocolMismatch
InvalidStreamFrame(String)
Cancelled
Rejected(String)
Timeout(Duration)
ContractMismatch
AssetVersionMismatch
Trait Implementations§
Source§impl Debug for RendererError
impl Debug for RendererError
Source§impl Display for RendererError
impl Display for RendererError
Source§impl Error for RendererError
impl Error for RendererError
1.30.0 · 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 RendererError
impl !UnwindSafe for RendererError
impl Freeze for RendererError
impl Send for RendererError
impl Sync for RendererError
impl Unpin for RendererError
impl UnsafeUnpin for RendererError
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