pub struct StaticFetch { /* private fields */ }Expand description
Serves fixed JSON documents by URL, and 404 for anything else: for
tests, and for parties that live in the same process.
Implementations§
Trait Implementations§
Source§impl Clone for StaticFetch
impl Clone for StaticFetch
Source§impl Debug for StaticFetch
impl Debug for StaticFetch
Source§impl Default for StaticFetch
impl Default for StaticFetch
Auto Trait Implementations§
impl Freeze for StaticFetch
impl RefUnwindSafe for StaticFetch
impl Send for StaticFetch
impl Sync for StaticFetch
impl Unpin for StaticFetch
impl UnsafeUnpin for StaticFetch
impl UnwindSafe for StaticFetch
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