pub struct NoLoader;Expand description
A loader that resolves nothing, and says so.
The default for run, so a program using use in
a context with no packaging configured gets a typed error naming the
package — not a silently-undefined function that fails much later as an
unbound symbol pointing at innocent code.
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 UnsafeUnpin 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