Struct io_partition::PartitionMutexLock[][src]

pub struct PartitionMutexLock<'a, T: Read + Seek> { /* fields omitted */ }

A locked PartitionMutex. See the documentation of PartitionMutex::lock for usage precaution.

Trait Implementations

impl<'a, T: Read + Seek> Read for PartitionMutexLock<'a, T>[src]

impl<'a, T: Read + Seek> Seek for PartitionMutexLock<'a, T>[src]

impl<'a, T: Read + Seek> Write for PartitionMutexLock<'a, T>[src]

fn write(&mut self, _: &[u8]) -> Result<usize>[src]

Do not use this write function. It will always fail. It is just here because some library require this to have the Write trait to make this work with this (rust_vfs)

fn flush(&mut self) -> Result<()>[src]

Always suceed. It is useless to call it

Auto Trait Implementations

impl<'a, T> RefUnwindSafe for PartitionMutexLock<'a, T>[src]

impl<'a, T> !Send for PartitionMutexLock<'a, T>[src]

impl<'a, T> Sync for PartitionMutexLock<'a, T> where
    T: Sync
[src]

impl<'a, T> Unpin for PartitionMutexLock<'a, T>[src]

impl<'a, T> !UnwindSafe for PartitionMutexLock<'a, T>[src]

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