pub enum TftpError {
Undefined,
FileNotFound,
AccessViolation,
DiskFull,
IllegalOperation,
UnknownTransferId,
FileAlreadyExists,
NoSuchUser,
BadOptions,
Busy,
Unknown(u16),
}
Expand description
Error codes defined in RFC 1350 appendix I.
Variants§
Undefined
FileNotFound
AccessViolation
DiskFull
IllegalOperation
UnknownTransferId
FileAlreadyExists
NoSuchUser
BadOptions
Introduced in RFC 2347.
Busy
Fuchsia-specific error code.
BUSY is sent by a server as a response to a RRQ or WRQ, and indicates that the server is unavailable to process the request at the moment (but expects to be able to handle it at some time in the future).
Unknown(u16)
Trait Implementations§
impl Copy for TftpError
impl Eq for TftpError
impl StructuralPartialEq for TftpError
Auto Trait Implementations§
impl Freeze for TftpError
impl RefUnwindSafe for TftpError
impl Send for TftpError
impl Sync for TftpError
impl Unpin for TftpError
impl UnwindSafe for TftpError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)