#[non_exhaustive]pub struct GlobalRequest {
pub kind: Name,
pub want_reply: bool,
pub data: Vec<u8>,
}Expand description
SSH_MSG_GLOBAL_REQUEST (RFC 4254 §4). data is the request-specific part, undecoded.
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.kind: Name§want_reply: bool§data: Vec<u8>Implementations§
Trait Implementations§
Source§impl Clone for GlobalRequest
impl Clone for GlobalRequest
Source§impl Debug for GlobalRequest
impl Debug for GlobalRequest
Source§impl Default for GlobalRequest
impl Default for GlobalRequest
impl Eq for GlobalRequest
Source§impl PartialEq for GlobalRequest
impl PartialEq for GlobalRequest
impl StructuralPartialEq for GlobalRequest
Auto Trait Implementations§
impl Forget for GlobalRequest
impl Freeze for GlobalRequest
impl Move for GlobalRequest
impl RefUnwindSafe for GlobalRequest
impl Send for GlobalRequest
impl Sync for GlobalRequest
impl Unpin for GlobalRequest
impl UnsafeUnpin for GlobalRequest
impl UnwindSafe for GlobalRequest
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