pub struct UnknownLayer(pub String);Expand description
Returned when a string does not name a Layer.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for UnknownLayer
impl Clone for UnknownLayer
Source§impl Debug for UnknownLayer
impl Debug for UnknownLayer
Source§impl Display for UnknownLayer
impl Display for UnknownLayer
impl Eq for UnknownLayer
Source§impl Error for UnknownLayer
impl Error for UnknownLayer
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 PartialEq for UnknownLayer
impl PartialEq for UnknownLayer
impl StructuralPartialEq for UnknownLayer
Auto Trait Implementations§
impl Freeze for UnknownLayer
impl RefUnwindSafe for UnknownLayer
impl Send for UnknownLayer
impl Sync for UnknownLayer
impl Unpin for UnknownLayer
impl UnsafeUnpin for UnknownLayer
impl UnwindSafe for UnknownLayer
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