pub enum FtpError {
NotEnoughData,
ProtocolError(String),
GarbageData,
AuthFailed,
}
Expand description
Error occured in parsing FTP data.
Variants§
NotEnoughData
No enough data has been provided.
ProtocolError(String)
Protocol error occur, i.e. got A
while expected B
.
GarbageData
Some meaningless data.
AuthFailed
Failed to authenticate.
Trait Implementations§
impl StructuralPartialEq for FtpError
Auto Trait Implementations§
impl Freeze for FtpError
impl RefUnwindSafe for FtpError
impl Send for FtpError
impl Sync for FtpError
impl Unpin for FtpError
impl UnwindSafe for FtpError
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