#[non_exhaustive]pub struct UserauthBanner {
pub message: Vec<u8>,
pub language: Vec<u8>,
}Expand description
SSH_MSG_USERAUTH_BANNER (RFC 4252 §5.4), its strings kept as sent.
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.message: Vec<u8>§language: Vec<u8>Implementations§
Trait Implementations§
Source§impl Clone for UserauthBanner
impl Clone for UserauthBanner
Source§impl Debug for UserauthBanner
impl Debug for UserauthBanner
Source§impl Default for UserauthBanner
impl Default for UserauthBanner
impl Eq for UserauthBanner
Source§impl PartialEq for UserauthBanner
impl PartialEq for UserauthBanner
impl StructuralPartialEq for UserauthBanner
Auto Trait Implementations§
impl Freeze for UserauthBanner
impl RefUnwindSafe for UserauthBanner
impl Send for UserauthBanner
impl Sync for UserauthBanner
impl Unpin for UserauthBanner
impl UnsafeUnpin for UserauthBanner
impl UnwindSafe for UserauthBanner
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