pub enum Status {
Ok,
No,
Bad,
PreAuth,
Bye,
}Expand description
The status condition of a StatusResponse.
Variants§
Ok
OK — success or informational.
No
NO — operational error; the command failed.
Bad
BAD — protocol error; the command was malformed or unexpected.
PreAuth
PREAUTH — the connection is already authenticated (greeting only).
Bye
BYE — the server is closing the connection.
Trait Implementations§
impl 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 UnsafeUnpin 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