Struct embedded_svc::utils::asyncify::ws::server::AsyncAcceptor
source · pub struct AsyncAcceptor<U, C, S>{ /* private fields */ }Implementations§
source§impl<U, C, S> AsyncAcceptor<U, C, S>
impl<U, C, S> AsyncAcceptor<U, C, S>
pub fn accept(&self) -> &AsyncAcceptor<U, C, S> ⓘ
Trait Implementations§
source§impl<'a, U, C, S> Future for &'a AsyncAcceptor<U, C, S>
impl<'a, U, C, S> Future for &'a AsyncAcceptor<U, C, S>
§type Output = Result<(AsyncSender<U, S>, AsyncReceiver<C, <S as ErrorType>::Error>), <S as ErrorType>::Error>
type Output = Result<(AsyncSender<U, S>, AsyncReceiver<C, <S as ErrorType>::Error>), <S as ErrorType>::Error>
The type of value produced on completion.
Auto Trait Implementations§
impl<U, C, S> !RefUnwindSafe for AsyncAcceptor<U, C, S>
impl<U, C, S> Send for AsyncAcceptor<U, C, S>where
U: Send,
impl<U, C, S> Sync for AsyncAcceptor<U, C, S>where
U: Sync,
impl<U, C, S> Unpin for AsyncAcceptor<U, C, S>where
U: Unpin,
impl<U, C, S> !UnwindSafe for AsyncAcceptor<U, C, 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