Struct zarrs::metadata::ConfigurationInvalidError
source · pub struct ConfigurationInvalidError { /* private fields */ }
Expand description
An invalid configuration error.
Implementations§
source§impl ConfigurationInvalidError
impl ConfigurationInvalidError
sourcepub fn new(name: String, configuration: Option<MetadataConfiguration>) -> Self
pub fn new(name: String, configuration: Option<MetadataConfiguration>) -> Self
Create a new invalid configuration error.
sourcepub const fn configuration(&self) -> Option<&MetadataConfiguration>
pub const fn configuration(&self) -> Option<&MetadataConfiguration>
Return the underlying configuration metadata of the invalid configuration.
Trait Implementations§
source§impl Debug for ConfigurationInvalidError
impl Debug for ConfigurationInvalidError
source§impl Display for ConfigurationInvalidError
impl Display for ConfigurationInvalidError
source§impl Error for ConfigurationInvalidError
impl Error for ConfigurationInvalidError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for ConfigurationInvalidError
impl RefUnwindSafe for ConfigurationInvalidError
impl Send for ConfigurationInvalidError
impl Sync for ConfigurationInvalidError
impl Unpin for ConfigurationInvalidError
impl UnwindSafe for ConfigurationInvalidError
Blanket Implementations§
source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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