#[repr(u32)]pub enum Status {
Show 47 variants
RestartMarker = 110,
ReadyMinute = 120,
AlreadyOpen = 125,
AboutToSend = 150,
CommandOk = 200,
CommandNotImplemented = 202,
System = 211,
Directory = 212,
File = 213,
Help = 214,
Name = 215,
Ready = 220,
Closing = 221,
DataConnectionOpen = 225,
ClosingDataConnection = 226,
PassiveMode = 227,
LongPassiveMode = 228,
ExtendedPassiveMode = 229,
LoggedIn = 230,
LoggedOut = 231,
LogoutAck = 232,
AuthOk = 234,
RequestedFileActionOk = 250,
PathCreated = 257,
NeedPassword = 331,
LoginNeedAccount = 332,
RequestFilePending = 350,
NotAvailable = 421,
CannotOpenDataConnection = 425,
TransferAborted = 426,
InvalidCredentials = 430,
HostUnavailable = 434,
RequestFileActionIgnored = 450,
ActionAborted = 451,
RequestedActionNotTaken = 452,
BadCommand = 500,
BadArguments = 501,
NotImplemented = 502,
BadSequence = 503,
NotImplementedParameter = 504,
NotLoggedIn = 530,
StoringNeedAccount = 532,
FileUnavailable = 550,
PageTypeUnknown = 551,
ExceededStorage = 552,
BadFilename = 553,
Unknown = 0,
}
Expand description
Ftp status returned after command execution
Variants§
RestartMarker = 110
ReadyMinute = 120
AlreadyOpen = 125
AboutToSend = 150
CommandOk = 200
CommandNotImplemented = 202
System = 211
Directory = 212
File = 213
Help = 214
Name = 215
Ready = 220
Closing = 221
DataConnectionOpen = 225
ClosingDataConnection = 226
PassiveMode = 227
LongPassiveMode = 228
ExtendedPassiveMode = 229
LoggedIn = 230
LoggedOut = 231
LogoutAck = 232
AuthOk = 234
RequestedFileActionOk = 250
PathCreated = 257
NeedPassword = 331
LoginNeedAccount = 332
RequestFilePending = 350
NotAvailable = 421
CannotOpenDataConnection = 425
TransferAborted = 426
InvalidCredentials = 430
RequestFileActionIgnored = 450
ActionAborted = 451
RequestedActionNotTaken = 452
BadCommand = 500
BadArguments = 501
NotImplemented = 502
BadSequence = 503
NotImplementedParameter = 504
NotLoggedIn = 530
StoringNeedAccount = 532
PageTypeUnknown = 551
ExceededStorage = 552
BadFilename = 553
Unknown = 0
Implementations§
Trait Implementations§
source§impl Error for Status
impl Error for Status
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl Ord for Status
impl Ord for Status
source§impl PartialEq for Status
impl PartialEq for Status
source§impl PartialOrd for Status
impl PartialOrd for Status
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Status
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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