#[non_exhaustive]pub struct UserauthRequest {
pub user: Vec<u8>,
pub service: String,
pub method: String,
pub method_data: Vec<u8>,
}Expand description
SSH_MSG_USERAUTH_REQUEST (RFC 4252 §5). method_data is everything after the method
name, left undecoded; it can hold a password, so Debug shows only its length.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.user: Vec<u8>The user name as sent; RFC 4252 calls for UTF-8, but nothing on the wire enforces it.
service: String§method: String§method_data: Vec<u8>Implementations§
Trait Implementations§
Source§impl Clone for UserauthRequest
impl Clone for UserauthRequest
Source§impl Debug for UserauthRequest
impl Debug for UserauthRequest
Source§impl Default for UserauthRequest
impl Default for UserauthRequest
impl Eq for UserauthRequest
Source§impl PartialEq for UserauthRequest
impl PartialEq for UserauthRequest
impl StructuralPartialEq for UserauthRequest
Auto Trait Implementations§
impl Forget for UserauthRequest
impl Freeze for UserauthRequest
impl Move for UserauthRequest
impl RefUnwindSafe for UserauthRequest
impl Send for UserauthRequest
impl Sync for UserauthRequest
impl Unpin for UserauthRequest
impl UnsafeUnpin for UserauthRequest
impl UnwindSafe for UserauthRequest
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