pub struct NoopResourceHandler;Expand description
A resource handler which doesn’t read anything.
Trait Implementations§
source§impl Clone for NoopResourceHandler
impl Clone for NoopResourceHandler
source§fn clone(&self) -> NoopResourceHandler
fn clone(&self) -> NoopResourceHandler
Returns a copy 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 NoopResourceHandler
impl Debug for NoopResourceHandler
source§impl ResourceUrlHandler for NoopResourceHandler
impl ResourceUrlHandler for NoopResourceHandler
source§fn read_resource(&self, url: &Url) -> Result<MimeData>
fn read_resource(&self, url: &Url) -> Result<MimeData>
Always return an ErrorKind::Unsupported error.