[][src]Struct fd_lock::FdLockGuard

pub struct FdLockGuard<'fdlock, T: AsRawFd> { /* fields omitted */ }

A guard that unlocks the file descriptor when it goes out of scope.

Trait Implementations

impl<'_, T: AsRawFd> Drop for FdLockGuard<'_, T>[src]

impl<'_, T: AsRawFd> Deref for FdLockGuard<'_, T>[src]

type Target = T

The resulting type after dereferencing.

impl<'_, T: AsRawFd> DerefMut for FdLockGuard<'_, T>[src]

impl<'fdlock, T: Debug + AsRawFd> Debug for FdLockGuard<'fdlock, T>[src]

Auto Trait Implementations

impl<'fdlock, T> Send for FdLockGuard<'fdlock, T> where
    T: Send

impl<'fdlock, T> Unpin for FdLockGuard<'fdlock, T>

impl<'fdlock, T> Sync for FdLockGuard<'fdlock, T> where
    T: Sync

impl<'fdlock, T> !UnwindSafe for FdLockGuard<'fdlock, T>

impl<'fdlock, T> RefUnwindSafe for FdLockGuard<'fdlock, T> where
    T: RefUnwindSafe

Blanket Implementations

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.

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

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

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