pub struct NoLoader;
Expand description
Dummy loader.
A dummy loader that does not load anything. Can be useful when you know that you will never need to load remote resource.
Raises an LoadingDocumentFailed
at every attempt to load a resource.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NoLoader
impl RefUnwindSafe for NoLoader
impl Send for NoLoader
impl Sync for NoLoader
impl Unpin for NoLoader
impl UnwindSafe for NoLoader
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