pub enum DialectLayerError {
Duplicate(DialectMatch),
}Expand description
Failure to insert a unique dialect layer.
Variants§
Duplicate(DialectMatch)
The existing layer has the same format and instance.
Trait Implementations§
Source§impl Clone for DialectLayerError
impl Clone for DialectLayerError
Source§impl Debug for DialectLayerError
impl Debug for DialectLayerError
Source§impl Display for DialectLayerError
impl Display for DialectLayerError
impl Eq for DialectLayerError
Source§impl Error for DialectLayerError
impl Error for DialectLayerError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 From<DialectLayerError> for CodecError
impl From<DialectLayerError> for CodecError
Source§fn from(error: DialectLayerError) -> Self
fn from(error: DialectLayerError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DialectLayerError
impl PartialEq for DialectLayerError
impl StructuralPartialEq for DialectLayerError
Auto Trait Implementations§
impl Freeze for DialectLayerError
impl RefUnwindSafe for DialectLayerError
impl Send for DialectLayerError
impl Sync for DialectLayerError
impl Unpin for DialectLayerError
impl UnsafeUnpin for DialectLayerError
impl UnwindSafe for DialectLayerError
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