pub struct ScpFileStat { /* private fields */ }
Expand description
Metadata returned about a remote file when received via scp
.
Returns the size of the remote file.
Returns the listed mode of the remote file.
Returns whether the remote file is a directory.
Returns whether the remote file is a regular file.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.