#[repr(u32)]
pub enum Status {
Show 47 variants
RestartMarker,
ReadyMinute,
AlreadyOpen,
AboutToSend,
CommandOk,
CommandNotImplemented,
System,
Directory,
File,
Help,
Name,
Ready,
Closing,
DataConnectionOpen,
ClosingDataConnection,
PassiveMode,
LongPassiveMode,
ExtendedPassiveMode,
LoggedIn,
LoggedOut,
LogoutAck,
AuthOk,
RequestedFileActionOk,
PathCreated,
NeedPassword,
LoginNeedAccount,
RequestFilePending,
NotAvailable,
CannotOpenDataConnection,
TransferAborted,
InvalidCredentials,
HostUnavailable,
RequestFileActionIgnored,
ActionAborted,
RequestedActionNotTaken,
BadCommand,
BadArguments,
NotImplemented,
BadSequence,
NotImplementedParameter,
NotLoggedIn,
StoringNeedAccount,
FileUnavailable,
PageTypeUnknown,
ExceededStorage,
BadFilename,
Unknown,
}
Expand description
Ftp status returned after command execution
Variants§
RestartMarker
ReadyMinute
AlreadyOpen
AboutToSend
CommandOk
CommandNotImplemented
System
Directory
File
Help
Name
Ready
Closing
DataConnectionOpen
ClosingDataConnection
PassiveMode
LongPassiveMode
ExtendedPassiveMode
LoggedIn
LoggedOut
LogoutAck
AuthOk
RequestedFileActionOk
PathCreated
NeedPassword
LoginNeedAccount
RequestFilePending
NotAvailable
CannotOpenDataConnection
TransferAborted
InvalidCredentials
RequestFileActionIgnored
ActionAborted
RequestedActionNotTaken
BadCommand
BadArguments
NotImplemented
BadSequence
NotImplementedParameter
NotLoggedIn
StoringNeedAccount
PageTypeUnknown
ExceededStorage
BadFilename
Unknown
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<Status> for Status
impl PartialEq<Status> for Status
source§impl PartialOrd<Status> for Status
impl PartialOrd<Status> 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 more