pub enum SyringeOperationError {
Inject(InjectError),
Eject(EjectError),
PayloadProcedureCall(PayloadRpcError),
RawProcedureCall(RawRpcError),
ProcedureLoad(LoadProcedureError),
}Available on crate feature
syringe only.Expand description
Error enum encompassing all errors during syringe operations in a nested format.
Variants§
Inject(InjectError)
Variant representing an error while injecting a module.
Eject(EjectError)
Variant representing an error while ejecting a module.
PayloadProcedureCall(PayloadRpcError)
Available on crate feature
rpc-payload only.Variant representing an error while using payload rpc.
RawProcedureCall(RawRpcError)
Available on crate feature
rpc-raw only.Variant representing an error while using raw rpc.
ProcedureLoad(LoadProcedureError)
Available on crate feature
rpc-core only.Variant representing an error while using rpc.
Trait Implementations§
Source§impl Debug for SyringeOperationError
Available on Windows only.
impl Debug for SyringeOperationError
Available on Windows only.
Source§impl Display for SyringeOperationError
Available on Windows only.
impl Display for SyringeOperationError
Available on Windows only.
Source§impl Error for SyringeOperationError
Available on Windows only.
impl Error for SyringeOperationError
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 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<InjectError> for SyringeOperationError
Available on Windows only.
impl From<InjectError> for SyringeOperationError
Available on Windows only.
Source§fn from(source: InjectError) -> Self
fn from(source: InjectError) -> Self
Converts to this type from the input type.
Source§impl From<LoadProcedureError> for SyringeOperationError
Available on Windows only.
impl From<LoadProcedureError> for SyringeOperationError
Available on Windows only.
Source§fn from(source: LoadProcedureError) -> Self
fn from(source: LoadProcedureError) -> Self
Converts to this type from the input type.
Source§impl From<PayloadRpcError> for SyringeOperationError
Available on Windows only.
impl From<PayloadRpcError> for SyringeOperationError
Available on Windows only.
Source§fn from(source: PayloadRpcError) -> Self
fn from(source: PayloadRpcError) -> Self
Converts to this type from the input type.
Source§impl From<RawRpcError> for SyringeOperationError
Available on Windows only.
impl From<RawRpcError> for SyringeOperationError
Available on Windows only.
Source§fn from(source: RawRpcError) -> Self
fn from(source: RawRpcError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for SyringeOperationError
Available on Windows only.
impl !UnwindSafe for SyringeOperationError
Available on Windows only.
impl Freeze for SyringeOperationError
Available on Windows only.
impl Send for SyringeOperationError
Available on Windows only.
impl Sync for SyringeOperationError
Available on Windows only.
impl Unpin for SyringeOperationError
Available on Windows only.
impl UnsafeUnpin for SyringeOperationError
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.