Trait nix::fcntl::Flockable

source ·
pub unsafe trait Flockable: AsRawFd { }
Available on crate feature fs only.
Expand description

Represents valid types for flock.

§Safety

Types implementing this must not be Clone.

Implementations on Foreign Types§

source§

impl Flockable for File

source§

impl Flockable for OwnedFd

Implementors§