#[repr(u16)]
pub enum ErrorCode {
NotDefined,
FileNotFound,
AccessViolation,
DiskFull,
IllegalTFTPOperation,
UnknownTransferId,
FileAlreadyExists,
NoSuchUser,
OptionRejected,
Unknown,
}
Expand description
The error code is an integer indicating the nature of the error.
Variants§
NotDefined
FileNotFound
AccessViolation
DiskFull
IllegalTFTPOperation
UnknownTransferId
FileAlreadyExists
NoSuchUser
OptionRejected
Unknown
Trait Implementations§
source§impl PartialEq<ErrorCode> for ErrorCode
impl PartialEq<ErrorCode> for ErrorCode
source§impl TryFrom<u16> for ErrorCode
impl TryFrom<u16> for ErrorCode
§type Error = TryFromPrimitiveError<ErrorCode>
type Error = TryFromPrimitiveError<ErrorCode>
The type returned in the event of a conversion error.