pub enum FFIError {
Show 24 variants
ChdirError {
path: PathBuf,
error: String,
},
ChrootError {
path: PathBuf,
error: String,
},
CloneError(String),
DupFdError {
fd: i32,
name: String,
error: String,
},
CreateDirError {
path: PathBuf,
error: String,
},
ExecError {
command: PathBuf,
arguments: Vec<OsString>,
error: String,
},
MountError {
path: PathBuf,
error: String,
},
OpenFdError {
fd: i32,
name: String,
error: String,
},
PersonalityError(String),
Pipe2Error(String),
PivotRootError {
new_root: PathBuf,
old_root: PathBuf,
error: String,
},
PrSetPDeathSigError(String),
PrSetNoNewPrivsError(String),
SetITimerError(String),
SetpgidError {
pid: i32,
pgid: i32,
error: String,
},
SetRLimitError {
resource: String,
error: String,
},
SigActionError {
signal: String,
error: String,
},
UMountError {
path: PathBuf,
error: String,
},
UnshareCgroupsError(String),
UsleepError {
time: u32,
error: String,
},
WriteUidError(String),
WriteGidError(String),
WaitPidError(String),
WriteSetGroupsError(String),
}
Variants§
ChdirError
ChrootError
CloneError(String)
DupFdError
CreateDirError
ExecError
MountError
OpenFdError
PersonalityError(String)
Pipe2Error(String)
PivotRootError
PrSetPDeathSigError(String)
PrSetNoNewPrivsError(String)
SetITimerError(String)
SetpgidError
SetRLimitError
SigActionError
UMountError
UsleepError
WriteUidError(String)
WriteGidError(String)
WaitPidError(String)
WriteSetGroupsError(String)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FFIError
impl<'de> Deserialize<'de> for FFIError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Error for FFIError
impl Error for FFIError
1.30.0 · 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<FFIError> for ChildError
impl From<FFIError> for ChildError
Auto Trait Implementations§
impl Freeze for FFIError
impl RefUnwindSafe for FFIError
impl Send for FFIError
impl Sync for FFIError
impl Unpin for FFIError
impl UnwindSafe for FFIError
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