pub enum ReflectError {
InvalidCString {
source: NulError,
},
WindowsError {
source: WindowsError,
},
CStringWithTrailing {
source: FromBytesWithNulError,
},
GenericError {
fmt: String,
},
NoSymbol,
IoError {
source: Error,
},
DlOpen {
desc: DlDescrption,
},
DlOpenUnknown,
DlSym {
desc: DlDescrption,
},
DlSymUnknown,
DlClose {
desc: DlDescrption,
},
DlCloseUnknown,
}
Variants§
InvalidCString
WindowsError
Fields
§
source: WindowsError
CStringWithTrailing
Fields
§
source: FromBytesWithNulError
GenericError
NoSymbol
IoError
DlOpen
Fields
§
desc: DlDescrption
DlOpenUnknown
DlSym
Fields
§
desc: DlDescrption
DlSymUnknown
DlClose
Fields
§
desc: DlDescrption
DlCloseUnknown
Trait Implementations§
Source§impl Debug for ReflectError
impl Debug for ReflectError
Source§impl Display for ReflectError
impl Display for ReflectError
Source§impl Error for ReflectError
impl Error for ReflectError
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 Freeze for ReflectError
impl !RefUnwindSafe for ReflectError
impl Send for ReflectError
impl Sync for ReflectError
impl Unpin for ReflectError
impl !UnwindSafe for ReflectError
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