pub struct IrohSsh { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl ProtocolHandler for IrohSsh
impl ProtocolHandler for IrohSsh
Source§fn accept(
&self,
conn: Connection,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'static>>
fn accept( &self, conn: Connection, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'static>>
Handle an incoming connection. Read more
Source§fn on_connecting(
&self,
connecting: Connecting,
) -> Pin<Box<dyn Future<Output = Result<Connection, Error>> + Send>>
fn on_connecting( &self, connecting: Connecting, ) -> Pin<Box<dyn Future<Output = Result<Connection, Error>> + Send>>
Optional interception point to handle the
Connecting
state. Read moreAuto Trait Implementations§
impl Freeze for IrohSsh
impl !RefUnwindSafe for IrohSsh
impl Send for IrohSsh
impl Sync for IrohSsh
impl Unpin for IrohSsh
impl !UnwindSafe for IrohSsh
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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