pub enum SshPacket<'a> {
Disconnect(SshPacketDisconnect<'a>),
Ignore(&'a [u8]),
Unimplemented(u32),
Debug(SshPacketDebug<'a>),
ServiceRequest(&'a [u8]),
ServiceAccept(&'a [u8]),
KeyExchange(SshPacketKeyExchange<'a>),
NewKeys,
DiffieHellmanInit(SshPacketDhInit<'a>),
DiffieHellmanReply(SshPacketDhReply<'a>),
}
Expand description
SSH Packet Enumeration
Variants§
Disconnect(SshPacketDisconnect<'a>)
Ignore(&'a [u8])
Unimplemented(u32)
Debug(SshPacketDebug<'a>)
ServiceRequest(&'a [u8])
ServiceAccept(&'a [u8])
KeyExchange(SshPacketKeyExchange<'a>)
NewKeys
DiffieHellmanInit(SshPacketDhInit<'a>)
DiffieHellmanReply(SshPacketDhReply<'a>)
Trait Implementations§
impl<'a> StructuralPartialEq for SshPacket<'a>
Auto Trait Implementations§
impl<'a> Freeze for SshPacket<'a>
impl<'a> RefUnwindSafe for SshPacket<'a>
impl<'a> Send for SshPacket<'a>
impl<'a> Sync for SshPacket<'a>
impl<'a> Unpin for SshPacket<'a>
impl<'a> UnwindSafe for SshPacket<'a>
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