pub enum DetourError {
InvalidParam,
Failure,
OutOfMemory,
PathNotFound,
NotFound,
BufferTooSmall,
InProgress,
WrongMagic,
WrongVersion,
DataCorrupted,
Build(BuildError),
}Expand description
Error from detour operations
Variants§
InvalidParam
Failure
OutOfMemory
PathNotFound
NotFound
BufferTooSmall
InProgress
WrongMagic
WrongVersion
DataCorrupted
Build(BuildError)
Trait Implementations§
Source§impl Debug for DetourError
impl Debug for DetourError
Source§impl Display for DetourError
impl Display for DetourError
Source§impl Error for DetourError
impl Error for DetourError
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<BuildError> for DetourError
impl From<BuildError> for DetourError
Source§fn from(source: BuildError) -> Self
fn from(source: BuildError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DetourError
impl RefUnwindSafe for DetourError
impl Send for DetourError
impl Sync for DetourError
impl Unpin for DetourError
impl UnsafeUnpin for DetourError
impl UnwindSafe for DetourError
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