Enum ssh2::OpenType [] [src]

pub enum OpenType {
    File,
    Dir,
}

How to open a file handle with libssh2.

Variants

File

Specify that a file shoud be opened.

Dir

Specify that a directory should be opened.

Trait Implementations

impl Clone for OpenType
[src]

fn clone(&self) -> OpenType

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for OpenType
[src]