Struct dap_reactor::reactor::Reactor
source · [−]pub struct Reactor<B> { /* private fields */ }
Implementations
sourceimpl<B> Reactor<B>where
B: Backend + Send,
impl<B> Reactor<B>where
B: Backend + Send,
pub const fn new() -> Self
pub fn with_capacity(&mut self, capacity: usize) -> &mut Self
pub async fn bind<S>(&mut self, socket: S) -> Result<ReactorListener<B>>where
S: ToSocketAddrs,
Auto Trait Implementations
impl<B> RefUnwindSafe for Reactor<B>where
B: RefUnwindSafe,
impl<B> Send for Reactor<B>where
B: Send,
impl<B> Sync for Reactor<B>where
B: Sync,
impl<B> Unpin for Reactor<B>where
B: Unpin,
impl<B> UnwindSafe for Reactor<B>where
B: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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