Struct makiko::AuthFailure
source · pub struct AuthFailure {
pub methods_can_continue: Vec<String>,
pub partial_success: bool,
}
Expand description
Message sent by the server when authentication attempt fails.
This corresponds to SSH_MSG_USERAUTH_FAILURE
(RFC 4252, section 5.1). Note that this may
actually represent a partial success.
Fields§
§methods_can_continue: Vec<String>
Authentication methods that may productively continue the authentication.
Note that the server must not list the "none"
method here, even if it is supported.
partial_success: bool
True if the authentication request was successful, but the authentication should continue.
For example, this might be used if the server requires that you pass multiple authentications before continuing.
Trait Implementations§
source§impl Clone for AuthFailure
impl Clone for AuthFailure
source§fn clone(&self) -> AuthFailure
fn clone(&self) -> AuthFailure
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 moreAuto Trait Implementations§
impl RefUnwindSafe for AuthFailure
impl Send for AuthFailure
impl Sync for AuthFailure
impl Unpin for AuthFailure
impl UnwindSafe for AuthFailure
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