vidi::util::flock

Trait 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