pub enum EjectError {
Io(Error),
UnsupportedTarget,
RemoteIo(Error),
RemoteException(ExceptionCode),
ProcessInaccessible,
ModuleInaccessible,
Goblin(Error),
}Available on crate feature
syringe only.Expand description
Error enum for errors during Syringe::eject.
Variants§
Io(Error)
Variant representing an io error.
UnsupportedTarget
Variant representing an unsupported target process.
RemoteIo(Error)
Variant representing an io error inside the target process.
RemoteException(ExceptionCode)
Variant representing an unhandled exception inside the target process.
ProcessInaccessible
Variant representing an inaccessible target process. This can occur if it crashed or was terminated.
ModuleInaccessible
Variant representing an inaccessible target module. This can occur if the target module was ejected or unloaded.
Goblin(Error)
Available on x86-64 and crate feature
into-x86-from-x64 only.Variant representing an error while loading an pe file.
Trait Implementations§
Source§impl Debug for EjectError
Available on Windows only.
impl Debug for EjectError
Available on Windows only.
Source§impl Display for EjectError
Available on Windows only.
impl Display for EjectError
Available on Windows only.
Source§impl Error for EjectError
Available on Windows only.
impl Error for EjectError
Available on Windows only.
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<EjectError> for SyringeError
Available on Windows only.
impl From<EjectError> for SyringeError
Available on Windows only.
Source§fn from(err: EjectError) -> Self
fn from(err: EjectError) -> Self
Converts to this type from the input type.
Source§impl From<EjectError> for SyringeOperationError
Available on Windows only.
impl From<EjectError> for SyringeOperationError
Available on Windows only.
Source§fn from(source: EjectError) -> Self
fn from(source: EjectError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for EjectError
Available on Windows only.
impl From<Error> for EjectError
Available on Windows only.
Source§impl From<Error> for EjectError
Available on Windows only.
impl From<Error> for EjectError
Available on Windows only.
Source§impl From<ExceptionCode> for EjectError
Available on Windows only.
impl From<ExceptionCode> for EjectError
Available on Windows only.
Source§fn from(err: ExceptionCode) -> Self
fn from(err: ExceptionCode) -> Self
Converts to this type from the input type.
Source§impl From<ExceptionOrIoError> for EjectError
Available on Windows only.
impl From<ExceptionOrIoError> for EjectError
Available on Windows 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 EjectError
Available on Windows only.
impl !UnwindSafe for EjectError
Available on Windows only.
impl Freeze for EjectError
Available on Windows only.
impl Send for EjectError
Available on Windows only.
impl Sync for EjectError
Available on Windows only.
impl Unpin for EjectError
Available on Windows only.
impl UnsafeUnpin for EjectError
Available on Windows only.
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Available on Windows only.
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Available on Windows only.
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> DropFlavorWrapper<T> for T
Available on Windows only.
impl<T> DropFlavorWrapper<T> for T
Available on Windows only.
Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Available on Windows only.
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Available on Windows only.
Source§impl<T> Identity for Twhere
T: ?Sized,
Available on Windows only.
impl<T> Identity for Twhere
T: ?Sized,
Available on Windows only.