[][src]Trait shh::Device

pub trait Device {
    fn obtain_original() -> Result<RawFd>;
}

Trait to enable getting the handle/fd a std device was looking at.

Required methods

fn obtain_original() -> Result<RawFd>

Obtain the original handle/fd the std device was using.

Loading content...

Implementations on Foreign Types

impl Device for Stdout[src]

impl Device for Stderr[src]

Loading content...

Implementors

Loading content...