pub enum StdError {
Api(ApiError),
Io(IoError),
NoResolvedAddress,
InvalidSocketAddress,
InvalidSocketPort,
MissingDestinationAddress,
RecursiveDirectoryCreationUnsupported,
ThreadResultUnavailable,
NoAvailableCpu,
}Expand description
Errors owned by the ArceOS standard-library facade.
Variants§
Api(ApiError)
A public ArceOS API operation failed.
Io(IoError)
An ax-io operation failed while implementing a standard-library action.
NoResolvedAddress
Address resolution yielded no usable socket address.
InvalidSocketAddress
A socket address string has invalid syntax.
InvalidSocketPort
A socket port string is not a valid u16 value.
MissingDestinationAddress
A datagram send operation has no destination address.
RecursiveDirectoryCreationUnsupported
Recursive directory creation is not implemented by this facade.
A joined task exited without publishing its return value.
NoAvailableCpu
The runtime reported no available CPU.
Trait Implementations§
impl Copy for StdError
impl Eq for StdError
Source§impl Error for StdError
impl Error for StdError
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()
impl StructuralPartialEq for StdError
Auto Trait Implementations§
impl Freeze for StdError
impl RefUnwindSafe for StdError
impl Send for StdError
impl Sync for StdError
impl Unpin for StdError
impl UnsafeUnpin for StdError
impl UnwindSafe for StdError
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