[][src]Struct sunrise_fs::detail::driver::fat::filesystem::FatFileSystem

pub struct FatFileSystem {
    inner: Arc<Mutex<FatFileSystem<Box<dyn StorageDevice<Error = Error> + Send>>>>,
}

A wrapper arround libfat FatFileSystem implementing FileSystemOperations.

Fields

inner: Arc<Mutex<FatFileSystem<Box<dyn StorageDevice<Error = Error> + Send>>>>

libfat filesystem interface.

Implementations

impl FatFileSystem[src]

pub fn new(
    inner: FatFileSystem<Box<dyn StorageDevice<Error = Error> + Send>>
) -> Self
[src]

Create a new FAT filesystem instance.

pub fn from_storage(
    storage: Box<dyn StorageDevice<Error = Error> + Send>
) -> LibUserResult<Self>
[src]

Construct a FAT filesystem instance with an IStorage.

Trait Implementations

impl Debug for FatFileSystem[src]

impl FileSystemOperations for FatFileSystem[src]

Auto Trait Implementations

impl !RefUnwindSafe for FatFileSystem

impl Send for FatFileSystem

impl Sync for FatFileSystem

impl Unpin for FatFileSystem

impl !UnwindSafe for FatFileSystem

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, 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.