pub struct PollerBuilder<H: Handler> { /* private fields */ }Implementations§
Source§impl<H: Handler> PollerBuilder<H>
impl<H: Handler> PollerBuilder<H>
pub fn with_packet_cnt(self, packet_cnt: u64) -> Self
pub fn with_handler(self, handler: H) -> Self
pub fn with_running(self, running: Arc<AtomicBool>) -> Self
pub fn with_capture(self, capture: Capture<Active>) -> Self
pub fn build(self) -> Poller<H>
Trait Implementations§
Auto Trait Implementations§
impl<H> Freeze for PollerBuilder<H>where
H: Freeze,
impl<H> RefUnwindSafe for PollerBuilder<H>where
H: RefUnwindSafe,
impl<H> Send for PollerBuilder<H>where
H: Send,
impl<H> !Sync for PollerBuilder<H>
impl<H> Unpin for PollerBuilder<H>where
H: Unpin,
impl<H> UnwindSafe for PollerBuilder<H>where
H: UnwindSafe,
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