Enum amjad_os_user_std::SyscallError
source · #[repr(align(8), u8)]pub enum SyscallError {
Show 14 variants
SyscallNotFound = 0,
InvalidErrorCode(u64),
CouldNotOpenFile = 2,
InvalidFileIndex = 3,
CouldNotWriteToFile = 4,
CouldNotReadFromFile = 5,
CouldNotLoadElf = 6,
CouldNotAllocateProcess = 7,
HeapRangesExceeded = 8,
EndOfFile = 9,
FileNotFound = 10,
PidNotFound = 11,
ProcessStillRunning = 12,
InvalidArgument(Option<SyscallArgError>, Option<SyscallArgError>, Option<SyscallArgError>, Option<SyscallArgError>, Option<SyscallArgError>, Option<SyscallArgError>, Option<SyscallArgError>),
}Variants§
SyscallNotFound = 0
InvalidErrorCode(u64)
CouldNotOpenFile = 2
InvalidFileIndex = 3
CouldNotWriteToFile = 4
CouldNotReadFromFile = 5
CouldNotLoadElf = 6
CouldNotAllocateProcess = 7
HeapRangesExceeded = 8
EndOfFile = 9
FileNotFound = 10
PidNotFound = 11
ProcessStillRunning = 12
InvalidArgument(Option<SyscallArgError>, Option<SyscallArgError>, Option<SyscallArgError>, Option<SyscallArgError>, Option<SyscallArgError>, Option<SyscallArgError>, Option<SyscallArgError>)
Trait Implementations§
source§impl Clone for SyscallError
impl Clone for SyscallError
source§fn clone(&self) -> SyscallError
fn clone(&self) -> SyscallError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SyscallError
impl Debug for SyscallError
impl Copy for SyscallError
Auto Trait Implementations§
impl RefUnwindSafe for SyscallError
impl Send for SyscallError
impl Sync for SyscallError
impl Unpin 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