[−][src]Enum wasmer_wasi::state::WasiFsError
Error type for external users
Variants
BaseNotDirectory
The fd given as a base was not a directory so the operation was not possible
NotAFile
Expected a file but found not a file
InvalidFd
The fd given was not usable
AlreadyExists
File exists
IOError
Something failed when doing IO. These errors can generally not be handled. It may work if tried again.
AddressInUse
The address was in use
AddressNotAvailable
The address could not be found
BrokenPipe
A pipe was closed
ConnectionAborted
The connection was aborted
ConnectionRefused
The connection request was refused
ConnectionReset
The connection was reset
Interrupted
The operation was interrupted before it could finish
InvalidData
Invalid internal data, if the argument data is invalid, use InvalidInput
InvalidInput
The provided data is invalid
NotConnected
Could not perform the operation because there was not an open connection
EntityNotFound
The requested file or directory could not be found
PermissionDenied
Caller was not allowed to perform this operation
TimedOut
The operation did not complete within the given amount of time
UnexpectedEof
Found EOF when EOF was not expected
WouldBlock
Operation would block, this error lets the caller know that they can try again
WriteZero
A call to write returned 0
UnknownError(__wasi_errno_t)
A WASI error without an external name. If you encounter this it means that there's probably a bug on our side (maybe as simple as forgetting to wrap this error, but perhaps something broke)
Methods
impl WasiFsError
[src]
pub fn from_wasi_err(err: __wasi_errno_t) -> WasiFsError
[src]
pub fn into_wasi_err(self) -> __wasi_errno_t
[src]
Trait Implementations
impl Eq for WasiFsError
[src]
impl Clone for WasiFsError
[src]
fn clone(&self) -> WasiFsError
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<WasiFsError> for WasiFsError
[src]
fn eq(&self, other: &WasiFsError) -> bool
[src]
fn ne(&self, other: &WasiFsError) -> bool
[src]
impl From<Error> for WasiFsError
[src]
impl Copy for WasiFsError
[src]
impl Debug for WasiFsError
[src]
Auto Trait Implementations
impl Sync for WasiFsError
impl Send for WasiFsError
impl Unpin for WasiFsError
impl UnwindSafe for WasiFsError
impl RefUnwindSafe for WasiFsError
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,