pub struct NoopFileRead;Expand description
NoopFileRead is a no-op implementation that always returns an error.
This is used when no file reader is configured.
Trait Implementations§
Source§impl Clone for NoopFileRead
impl Clone for NoopFileRead
impl Copy for NoopFileRead
Source§impl Debug for NoopFileRead
impl Debug for NoopFileRead
Source§impl Default for NoopFileRead
impl Default for NoopFileRead
Auto Trait Implementations§
impl Freeze for NoopFileRead
impl RefUnwindSafe for NoopFileRead
impl Send for NoopFileRead
impl Sync for NoopFileRead
impl Unpin for NoopFileRead
impl UnsafeUnpin for NoopFileRead
impl UnwindSafe for NoopFileRead
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