Trait GetID

Source
pub trait GetID {
    // Required method
    fn get_id(&self) -> Result<FileID>;
}
Expand description

A trait to obtain the file identifier of an underlying object.

Required Methods§

Source

fn get_id(&self) -> Result<FileID>

Obtains the file identifier, see FileID::new for more information.

Implementations on Foreign Types§

Source§

impl GetID for str

Source§

impl GetID for OsStr

Source§

impl GetID for Path

Implementors§

Source§

impl GetID for FileID

Source§

impl<T: AsRawFd> GetID for T