Struct libseccomp::error::SeccompError
source · [−]pub struct SeccompError { /* private fields */ }
Expand description
The error type for libseccomp operations.
Implementations
sourceimpl SeccompError
impl SeccompError
sourcepub fn errno(&self) -> Option<SeccompErrno>
pub fn errno(&self) -> Option<SeccompErrno>
Query the errno returned by the libseccomp API.
Trait Implementations
sourceimpl Debug for SeccompError
impl Debug for SeccompError
sourceimpl Display for SeccompError
impl Display for SeccompError
sourceimpl Error for SeccompError
impl Error for SeccompError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<NulError> for SeccompError
impl From<NulError> for SeccompError
sourceimpl From<TryFromIntError> for SeccompError
impl From<TryFromIntError> for SeccompError
sourcefn from(err: TryFromIntError) -> Self
fn from(err: TryFromIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for SeccompError
impl Send for SeccompError
impl Sync for SeccompError
impl Unpin for SeccompError
impl !UnwindSafe for SeccompError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more