[][src]Struct sunrise_libuser::error::FileSystemError

#[repr(transparent)]pub struct FileSystemError(u32);

FileSystem driver errors.

Implementations

impl FileSystemError[src]

pub const Unknown: FileSystemError[src]

Unknown error.

pub const PathNotFound: FileSystemError[src]

The given resource couldn't be found.

pub const PathExists: FileSystemError[src]

A resource at the given path already exist.

pub const InUse: FileSystemError[src]

Resource already in use.

pub const NoSpaceLeft: FileSystemError[src]

There isn't enough space for a resource to be stored.

pub const InvalidPartition: FileSystemError[src]

The partition wasn't used as it's invalid.

pub const OutOfRange: FileSystemError[src]

Specified value is out of range.

pub const WriteFailed: FileSystemError[src]

A writing operation failed on the attached storage device.

pub const ReadFailed: FileSystemError[src]

A read operation failed on the attached storage device.

pub const PartitionNotFound: FileSystemError[src]

The given partition cannot be found.

pub const InvalidInput: FileSystemError[src]

The given input wasn't valid.

pub const PathTooLong: FileSystemError[src]

The given path is too long to be resolved.

pub const ReadOnlyFileSystem: FileSystemError[src]

Attempted to modify a read-only filesystem.

pub const AccessDenied: FileSystemError[src]

The access to a given resource has been denied.

pub const FileNotFound: FileSystemError[src]

The requested file wasn't found.

pub const UnsupportedOperation: FileSystemError[src]

The requested operation isn't supported by the detail.

pub const DirectoryNotFound: FileSystemError[src]

The requested directory wasn't found.

pub const NotAFile: FileSystemError[src]

The given resource cannot be represented as a file.

pub const NotADirectory: FileSystemError[src]

The given resource cannot be represented as a directory.

pub const DiskNotFound: FileSystemError[src]

The given disk id doesn't correspond to a any known disk.

Trait Implementations

impl Clone for FileSystemError[src]

impl Copy for FileSystemError[src]

impl Debug for FileSystemError[src]

impl Eq for FileSystemError[src]

impl From<FileSystemError> for Error[src]

impl PartialEq<FileSystemError> for FileSystemError[src]

impl StructuralEq for FileSystemError[src]

impl StructuralPartialEq for FileSystemError[src]

Auto Trait Implementations

impl RefUnwindSafe for FileSystemError

impl Send for FileSystemError

impl Sync for FileSystemError

impl Unpin for FileSystemError

impl UnwindSafe for FileSystemError

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SizedIPCBuffer for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.