Enum wasmer_wasi::WasiStateCreationError [−][src]
pub enum WasiStateCreationError {
EnvironmentVariableFormatError(String),
ArgumentContainsNulByte(String),
PreopenedDirectoryNotFound(PathBuf),
PreopenedDirectoryError(String),
MappedDirAliasFormattingError(String),
WasiFsCreationError(String),
WasiFsSetupError(String),
FileSystemError(FsError),
}
Expand description
Error type returned when bad data is given to WasiStateBuilder
.
Variants
EnvironmentVariableFormatError(String)
Tuple Fields
0: String
ArgumentContainsNulByte(String)
Tuple Fields
0: String
PreopenedDirectoryNotFound(PathBuf)
Tuple Fields
0: PathBuf
PreopenedDirectoryError(String)
Tuple Fields
0: String
MappedDirAliasFormattingError(String)
Tuple Fields
0: String
WasiFsCreationError(String)
Tuple Fields
0: String
WasiFsSetupError(String)
Tuple Fields
0: String
FileSystemError(FsError)
Tuple Fields
0: FsError
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for WasiStateCreationError
impl Send for WasiStateCreationError
impl Sync for WasiStateCreationError
impl Unpin for WasiStateCreationError
impl UnwindSafe for WasiStateCreationError
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more
pub fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
pub fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more