Trait vidi::util::flock::FileLike

source ·
pub trait FileLike {
    // Required methods
    fn get_metadata(&self) -> Result<Metadata>;
    fn as_raw_fd(&self) -> RawFd;
}

Required Methods§

Implementations on Foreign Types§

source§

impl FileLike for Device

source§

impl FileLike for File

Implementors§

source§

impl FileLike for vidi::util::media::Device