Enum allenap_libtftp::packet::ErrorCode
source · [−]pub enum ErrorCode {
NotDefined,
FileNotFound,
AccessViolation,
DiskFull,
IllegalOperation,
UnknownTransferId,
FileAlreadyExists,
NoSuchUser,
BadOptions,
}
Expand description
The code in an ERROR
packet.
Unless specified otherwise, these codes are all defined in RFC-1350.
Variants
NotDefined
Not defined, see error message (if any).
FileNotFound
File not found.
AccessViolation
Access violation.
DiskFull
Disk full or allocation exceeded.
IllegalOperation
Illegal TFTP operation.
UnknownTransferId
Unknown transfer ID.
FileAlreadyExists
File already exists.
NoSuchUser
No such user.
BadOptions
Options not acceptable. Defined in RFC-2347.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnwindSafe for ErrorCode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more