pub struct MinimalBackend;Trait Implementations§
Source§impl Default for MinimalBackend
impl Default for MinimalBackend
Source§fn default() -> MinimalBackend
fn default() -> MinimalBackend
Returns the “default value” for a type. Read more
Source§impl SshBackend for MinimalBackend
impl SshBackend for MinimalBackend
Implements make server banner.
Source§fn make_kex_reply(
&mut self,
client_kex: &[u8],
host_keys: &mut dyn HostKeyProvider,
) -> Result<Vec<u8>>
fn make_kex_reply( &mut self, client_kex: &[u8], host_keys: &mut dyn HostKeyProvider, ) -> Result<Vec<u8>>
Implements make kex reply.
Source§fn make_exec_reply(
&mut self,
channel_id: u32,
accepted: bool,
) -> Result<Vec<u8>>
fn make_exec_reply( &mut self, channel_id: u32, accepted: bool, ) -> Result<Vec<u8>>
Implements make exec reply.
fn parse_packet<'a>(&mut self, packet: &'a [u8]) -> Result<ParsedPacket<'a>>
Auto Trait Implementations§
impl Freeze for MinimalBackend
impl RefUnwindSafe for MinimalBackend
impl Send for MinimalBackend
impl Sync for MinimalBackend
impl Unpin for MinimalBackend
impl UnsafeUnpin for MinimalBackend
impl UnwindSafe for MinimalBackend
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