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