Enum wezterm_ssh::SftpError
source · [−]pub enum SftpError {
Show 21 variants
Eof,
NoSuchFile,
PermissionDenied,
Failure,
BadMessage,
NoConnection,
ConnectionLost,
OpUnsupported,
InvalidHandle,
NoSuchPath,
FileAlreadyExists,
WriteProtect,
NoMedia,
NoSpaceOnFilesystem,
QuotaExceeded,
UnknownPrincipal,
LockConflict,
DirNotEmpty,
NotADirectory,
InvalidFilename,
LinkLoop,
}
Expand description
Represents errors associated with sftp operations
Variants
Eof
NoSuchFile
PermissionDenied
Failure
BadMessage
NoConnection
ConnectionLost
OpUnsupported
InvalidHandle
NoSuchPath
FileAlreadyExists
WriteProtect
NoMedia
NoSpaceOnFilesystem
QuotaExceeded
UnknownPrincipal
LockConflict
DirNotEmpty
NotADirectory
InvalidFilename
LinkLoop
Implementations
Produces an SFTP error from the given code if it matches a known error type
Converts into an error code
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SftpError
impl UnwindSafe for SftpError
Blanket Implementations
Mutably borrows from an owned value. Read more