pub enum ExceptionOrIoError {
Io(Error),
Exception(ExceptionCode),
}Available on Windows only.
Expand description
An error representing either an unhandled exception or an io error.
Variants§
Io(Error)
Variant representing an io error.
Exception(ExceptionCode)
Variant representing an unhandled exception.
Trait Implementations§
Source§impl Debug for ExceptionOrIoError
impl Debug for ExceptionOrIoError
Source§impl Display for ExceptionOrIoError
impl Display for ExceptionOrIoError
Source§impl Error for ExceptionOrIoError
impl Error for ExceptionOrIoError
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()
Source§impl From<ExceptionOrIoError> for InjectError
Available on crate feature syringe only.
impl From<ExceptionOrIoError> for InjectError
Available on crate feature
syringe only.Source§fn from(err: ExceptionOrIoError) -> Self
fn from(err: ExceptionOrIoError) -> Self
Converts to this type from the input type.
Source§impl From<ExceptionOrIoError> for EjectError
Available on crate feature syringe only.
impl From<ExceptionOrIoError> for EjectError
Available on crate feature
syringe only.Source§fn from(err: ExceptionOrIoError) -> Self
fn from(err: ExceptionOrIoError) -> Self
Converts to this type from the input type.
Source§impl From<ExceptionOrIoError> for LoadProcedureError
Available on crate feature syringe only.
impl From<ExceptionOrIoError> for LoadProcedureError
Available on crate feature
syringe only.Source§fn from(err: ExceptionOrIoError) -> Self
fn from(err: ExceptionOrIoError) -> Self
Converts to this type from the input type.
Source§impl From<ExceptionOrIoError> for SyringeError
Available on crate feature syringe only.
impl From<ExceptionOrIoError> for SyringeError
Available on crate feature
syringe only.Source§fn from(err: ExceptionOrIoError) -> Self
fn from(err: ExceptionOrIoError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ExceptionOrIoError
impl !UnwindSafe for ExceptionOrIoError
impl Freeze for ExceptionOrIoError
impl Send for ExceptionOrIoError
impl Sync for ExceptionOrIoError
impl Unpin for ExceptionOrIoError
impl UnsafeUnpin for ExceptionOrIoError
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