Enum libcnb_data::layer::LayerNameError
source · pub enum LayerNameError {
InvalidValue(String),
}
Variants§
Trait Implementations§
source§impl Debug for LayerNameError
impl Debug for LayerNameError
source§impl Display for LayerNameError
impl Display for LayerNameError
source§impl Error for LayerNameError
impl Error for LayerNameError
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()
source§impl PartialEq for LayerNameError
impl PartialEq for LayerNameError
source§fn eq(&self, other: &LayerNameError) -> bool
fn eq(&self, other: &LayerNameError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for LayerNameError
impl StructuralPartialEq for LayerNameError
Auto Trait Implementations§
impl RefUnwindSafe for LayerNameError
impl Send for LayerNameError
impl Sync for LayerNameError
impl Unpin for LayerNameError
impl UnwindSafe for LayerNameError
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.