Enum libssh_rs::AuthStatus
source · pub enum AuthStatus {
Success,
Denied,
Partial,
Info,
Again,
}Expand description
Indicates the disposition of an authentication operation
Variants§
Success
You have been fully authenticated and can now move on to opening channels
Denied
The authentication attempt failed. Perhaps retry, or try an alternative auth method.
Partial
You’ve been partially authenticated. Check Session::userauth_list
to determine which methods you should continue with.
Info
There is additional information about how to proceed with authentication. For keyboard-interactive auth, you will need to obtain auth prompts and provide answers before you can continue.
Again
In non-blocking mode, you will need to try again as the request couldn’t be completed without blocking.
Trait Implementations§
source§impl Clone for AuthStatus
impl Clone for AuthStatus
source§fn clone(&self) -> AuthStatus
fn clone(&self) -> AuthStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for AuthStatus
impl Debug for AuthStatus
source§impl PartialEq<AuthStatus> for AuthStatus
impl PartialEq<AuthStatus> for AuthStatus
source§fn eq(&self, other: &AuthStatus) -> bool
fn eq(&self, other: &AuthStatus) -> bool
This method tests for
self and other values to be equal, and is used
by ==.