[−][src]Struct ssh2::FileType
An structure representing a type of file.
Methods
impl FileType
[src][−]
pub fn is_dir(&self) -> bool
[src][−]
Test whether this file type represents a directory.
pub fn is_file(&self) -> bool
[src][−]
Test whether this file type represents a regular file.
pub fn is_symlink(&self) -> bool
[src][−]
Test whether this file type represents a symbolic link.
Auto Trait Implementations
impl Unpin for FileType
impl Send for FileType
impl Sync for FileType
impl UnwindSafe for FileType
impl RefUnwindSafe for FileType
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> From<T> for T
[src][+]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,