Enum ssh2_patched::OpenType
source · [−]pub enum OpenType {
File,
Dir,
}
Expand description
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
Auto Trait Implementations
impl RefUnwindSafe for OpenType
impl Send for OpenType
impl Sync for OpenType
impl Unpin for OpenType
impl UnwindSafe for OpenType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more