wasi_common::snapshots::preview_1::error

Trait ErrorExt

Source
pub trait ErrorExt {
Show 14 methods // Required methods fn not_found() -> Self; fn too_big() -> Self; fn badf() -> Self; fn exist() -> Self; fn illegal_byte_sequence() -> Self; fn invalid_argument() -> Self; fn io() -> Self; fn name_too_long() -> Self; fn not_dir() -> Self; fn not_supported() -> Self; fn overflow() -> Self; fn range() -> Self; fn seek_pipe() -> Self; fn perm() -> Self;
}

Required Methods§

Source

fn not_found() -> Self

Source

fn too_big() -> Self

Source

fn badf() -> Self

Source

fn exist() -> Self

Source

fn illegal_byte_sequence() -> Self

Source

fn invalid_argument() -> Self

Source

fn io() -> Self

Source

fn name_too_long() -> Self

Source

fn not_dir() -> Self

Source

fn not_supported() -> Self

Source

fn overflow() -> Self

Source

fn range() -> Self

Source

fn seek_pipe() -> Self

Source

fn perm() -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl ErrorExt for wasi_common::snapshots::preview_0::types::Error

Source§

impl ErrorExt for wasi_common::snapshots::preview_1::types::Error