pub enum SyringeError {
IllegalPath(ContainsNul<u16>),
Io(Error),
UnsupportedTarget,
RemoteIo(Error),
RemoteException(ExceptionCode),
ProcessInaccessible,
ArchitectureMismatch,
ModuleInaccessible,
Serde(SerdeError),
RemotePayloadProcedure(String),
Goblin(Error),
}syringe only.Expand description
Error enum encompassing all errors during Syringe operations.
Variants§
IllegalPath(ContainsNul<u16>)
Variant representing an illegal interior nul value in the module path.
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.
ArchitectureMismatch
Variant representing an incompatible payload module compiled for a different target than the target process.
ModuleInaccessible
Variant representing an inaccessible target module. This can occur if the target module was ejected or unloaded.
Serde(SerdeError)
rpc-payload only.Variant representing an error while serializing or deserializing.
RemotePayloadProcedure(String)
rpc-payload only.Variant representing an error or panic inside a remote payload procedure.
Goblin(Error)
into-x86-from-x64 only.Variant representing an error while loading an pe file.
Trait Implementations§
Source§impl Debug for SyringeError
Available on Windows only.
impl Debug for SyringeError
Source§impl Display for SyringeError
Available on Windows only.
impl Display for SyringeError
Source§impl Error for SyringeError
Available on Windows only.
impl Error for SyringeError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<ContainsNul<u16>> for SyringeError
Available on Windows only.
impl From<ContainsNul<u16>> for SyringeError
Source§fn from(source: ContainsNul<u16>) -> Self
fn from(source: ContainsNul<u16>) -> Self
Source§impl From<EjectError> for SyringeError
Available on Windows only.
impl From<EjectError> for SyringeError
Source§fn from(err: EjectError) -> Self
fn from(err: EjectError) -> Self
Source§impl From<Error> for SyringeError
Available on Windows only.
impl From<Error> for SyringeError
Source§impl From<Error> for SyringeError
Available on Windows only.
impl From<Error> for SyringeError
Source§impl From<ExceptionCode> for SyringeError
Available on Windows only.
impl From<ExceptionCode> for SyringeError
Source§fn from(err: ExceptionCode) -> Self
fn from(err: ExceptionCode) -> Self
Source§impl From<ExceptionOrIoError> for SyringeError
Available on Windows only.
impl From<ExceptionOrIoError> for SyringeError
Source§fn from(err: ExceptionOrIoError) -> Self
fn from(err: ExceptionOrIoError) -> Self
Source§impl From<InjectError> for SyringeError
Available on Windows only.
impl From<InjectError> for SyringeError
Source§fn from(err: InjectError) -> Self
fn from(err: InjectError) -> Self
Source§impl From<IoOrNulError> for SyringeError
Available on Windows only.
impl From<IoOrNulError> for SyringeError
Source§fn from(err: IoOrNulError) -> Self
fn from(err: IoOrNulError) -> Self
Source§impl From<LoadProcedureError> for SyringeError
Available on Windows and crate feature rpc-core only.
impl From<LoadProcedureError> for SyringeError
rpc-core only.Source§fn from(err: LoadProcedureError) -> Self
fn from(err: LoadProcedureError) -> Self
Source§impl From<PayloadRpcError> for SyringeError
Available on Windows and crate feature rpc-payload only.
impl From<PayloadRpcError> for SyringeError
rpc-payload only.Source§fn from(err: PayloadRpcError) -> Self
fn from(err: PayloadRpcError) -> Self
Source§impl From<RawRpcError> for SyringeError
Available on Windows and crate feature rpc-core only.
impl From<RawRpcError> for SyringeError
rpc-core only.