Struct async_ssh2_lite::listener::AsyncListener
source · pub struct AsyncListener<S> { /* private fields */ }
Implementations§
source§impl<S> AsyncListener<S>where
S: AsyncSessionStream + Send + Sync + 'static,
impl<S> AsyncListener<S>where S: AsyncSessionStream + Send + Sync + 'static,
pub async fn accept(&mut self) -> Result<AsyncChannel<S>, Error>
Auto Trait Implementations§
impl<S> !RefUnwindSafe for AsyncListener<S>
impl<S> Send for AsyncListener<S>where S: Send + Sync,
impl<S> Sync for AsyncListener<S>where S: Send + Sync,
impl<S> Unpin for AsyncListener<S>
impl<S> !UnwindSafe for AsyncListener<S>
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