pub enum SyscallError {
Show 13 variants
InvalidArgument,
PermissionDenied,
NotFound,
OutOfMemory,
AlreadyExists,
Timeout,
WouldBlock,
NotSupported,
NotImplemented,
IoError,
BadDescriptor,
BufferTooSmall,
InternalError,
}Expand description
Error codes returned by VeridianOS system calls.
Variants§
InvalidArgument
One or more arguments are invalid.
PermissionDenied
Caller lacks the required capability or permission.
NotFound
The requested resource was not found.
OutOfMemory
Insufficient memory to complete the operation.
AlreadyExists
The resource already exists.
Timeout
The operation timed out.
WouldBlock
The operation would block and non-blocking mode was requested.
NotSupported
The operation is not supported on this object.
NotImplemented
The system call is not yet implemented.
IoError
An I/O error occurred.
BadDescriptor
The file descriptor or handle is invalid.
BufferTooSmall
The buffer provided is too small.
InternalError
An internal kernel error occurred.
Trait Implementations§
Source§impl Clone for SyscallError
impl Clone for SyscallError
Source§fn clone(&self) -> SyscallError
fn clone(&self) -> SyscallError
Returns a duplicate of the value. Read more
1.0.0§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
Source§impl Display for SyscallError
impl Display for SyscallError
Source§impl PartialEq for SyscallError
impl PartialEq for SyscallError
impl Copy for SyscallError
impl Eq for SyscallError
impl StructuralPartialEq for SyscallError
Auto Trait Implementations§
impl Freeze for SyscallError
impl RefUnwindSafe for SyscallError
impl Send for SyscallError
impl Sync for SyscallError
impl Unpin for SyscallError
impl UnwindSafe for SyscallError
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)