Closable

Trait Closable 

Source
pub trait Closable {
    // Required method
    fn close(self) -> Result<(), Error>;
}

Required Methods§

Source

fn close(self) -> Result<(), Error>

Implementors§

Source§

impl<T> Closable for T
where T: IntoRawFd,

Available on Unix only.