#[non_exhaustive]pub struct ChannelOpen {
pub kind: Name,
pub sender: u32,
pub window: u32,
pub max_packet: u32,
pub data: Vec<u8>,
}Expand description
SSH_MSG_CHANNEL_OPEN (RFC 4254 §5.1). data is the channel-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.kind: Name§sender: u32§window: u32§max_packet: u32§data: Vec<u8>Implementations§
Trait Implementations§
Source§impl Clone for ChannelOpen
impl Clone for ChannelOpen
Source§impl Debug for ChannelOpen
impl Debug for ChannelOpen
Source§impl Default for ChannelOpen
impl Default for ChannelOpen
impl Eq for ChannelOpen
Source§impl PartialEq for ChannelOpen
impl PartialEq for ChannelOpen
impl StructuralPartialEq for ChannelOpen
Auto Trait Implementations§
impl Freeze for ChannelOpen
impl RefUnwindSafe for ChannelOpen
impl Send for ChannelOpen
impl Sync for ChannelOpen
impl Unpin for ChannelOpen
impl UnsafeUnpin for ChannelOpen
impl UnwindSafe for ChannelOpen
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