Struct async_ssh2_lite::listener::AsyncListener
source · [−]pub struct AsyncListener<S> { /* private fields */ }
Implementations
sourceimpl<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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more