pub struct SyscallError {
pub call: &'static str,
pub io_error: Error,
}Expand description
A system call error.
Fields§
§call: &'static strThe name of the syscall which failed.
io_error: ErrorThe io::Error returned by the syscall.
Trait Implementations§
Source§impl Debug for SyscallError
impl Debug for SyscallError
Source§impl Display for SyscallError
impl Display for SyscallError
Source§impl Error for SyscallError
impl Error for SyscallError
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<SyscallError> for LinkError
impl From<SyscallError> for LinkError
Source§fn from(source: SyscallError) -> Self
fn from(source: SyscallError) -> Self
Converts to this type from the input type.
Source§impl From<SyscallError> for MapError
impl From<SyscallError> for MapError
Source§fn from(source: SyscallError) -> Self
fn from(source: SyscallError) -> Self
Converts to this type from the input type.
Source§impl From<SyscallError> for PinError
impl From<SyscallError> for PinError
Source§fn from(source: SyscallError) -> Self
fn from(source: SyscallError) -> Self
Converts to this type from the input type.
Source§impl From<SyscallError> for ProgramError
impl From<SyscallError> for ProgramError
Source§fn from(source: SyscallError) -> Self
fn from(source: SyscallError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SyscallError
impl !RefUnwindSafe for SyscallError
impl Send for SyscallError
impl Sync for SyscallError
impl Unpin for SyscallError
impl UnsafeUnpin for SyscallError
impl !UnwindSafe for SyscallError
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