pub struct DummyNetProvider;Expand description
A default noop NetProvider
Trait Implementations§
Source§impl Default for DummyNetProvider
impl Default for DummyNetProvider
Source§impl NetProvider for DummyNetProvider
impl NetProvider for DummyNetProvider
fn fetch( &self, _doc_id: usize, _request: Request, _handler: Box<dyn NetHandler>, )
Source§fn is_noop(&self) -> bool
fn is_noop(&self) -> bool
Whether this provider is a no-op (e.g.
DummyNetProvider) that will never
deliver resources. When true, callers must NOT register resources as
“pending critical” — doing so blocks painting forever, since the
completion callback never fires. Used by integrations that feed a
pre-rendered DOM and perform no sub-fetches (e.g. aginxbrowser).Auto Trait Implementations§
impl Freeze for DummyNetProvider
impl RefUnwindSafe for DummyNetProvider
impl Send for DummyNetProvider
impl Sync for DummyNetProvider
impl Unpin for DummyNetProvider
impl UnsafeUnpin for DummyNetProvider
impl UnwindSafe for DummyNetProvider
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