#[non_exhaustive]pub struct ChannelData {
pub recipient: u32,
pub data: Vec<u8>,
}Expand description
SSH_MSG_CHANNEL_DATA.
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§data: Vec<u8>Implementations§
Source§impl ChannelData
impl ChannelData
Trait Implementations§
Source§impl Clone for ChannelData
impl Clone for ChannelData
Source§impl Debug for ChannelData
impl Debug for ChannelData
Source§impl Default for ChannelData
impl Default for ChannelData
impl Eq for ChannelData
Source§impl PartialEq for ChannelData
impl PartialEq for ChannelData
impl StructuralPartialEq for ChannelData
Auto Trait Implementations§
impl Freeze for ChannelData
impl RefUnwindSafe for ChannelData
impl Send for ChannelData
impl Sync for ChannelData
impl Unpin for ChannelData
impl UnsafeUnpin for ChannelData
impl UnwindSafe for ChannelData
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