pub struct Metadata { /* private fields */ }
Expand description

Represents metadata about a file. libssh returns this in a couple of contexts, and not all fields are used in all contexts.

Implementations

libssh docs say that this is the ls -l output on openssh servers, but is unreliable with other servers

Set in openssh version 4 and up

Set in openssh version 4 and up

Flags the indicate which attributes are present. Is a bitmask of SSH_FILEXFER_ATTR_XXX constants

The owner uid of the file

The owner gid of the file

The unix mode_t permission bits

The type of the file decoded from the permissions

The last-accessed time

The file creation time

The file modification time

Trait Implementations

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

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.