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
Source§fn clone(&self) -> NoopFileRead
fn clone(&self) -> NoopFileRead
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NoopFileRead
impl Debug for NoopFileRead
Source§impl Default for NoopFileRead
impl Default for NoopFileRead
Source§fn default() -> NoopFileRead
fn default() -> NoopFileRead
Returns the “default value” for a type. Read more
Source§impl FileRead for NoopFileRead
impl FileRead for NoopFileRead
impl Copy 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 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