Struct UnknownStubRule
pub struct UnknownStubRule(pub String);Expand description
The name a stub rule is not.
Tuple Fields§
§0: StringTrait Implementations§
§impl Clone for UnknownStubRule
impl Clone for UnknownStubRule
§fn clone(&self) -> UnknownStubRule
fn clone(&self) -> UnknownStubRule
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for UnknownStubRule
impl Debug for UnknownStubRule
§impl Display for UnknownStubRule
impl Display for UnknownStubRule
impl Eq for UnknownStubRule
§impl Error for UnknownStubRule
impl Error for UnknownStubRule
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()
§impl PartialEq for UnknownStubRule
impl PartialEq for UnknownStubRule
impl StructuralPartialEq for UnknownStubRule
Auto Trait Implementations§
impl Freeze for UnknownStubRule
impl RefUnwindSafe for UnknownStubRule
impl Send for UnknownStubRule
impl Sync for UnknownStubRule
impl Unpin for UnknownStubRule
impl UnsafeUnpin for UnknownStubRule
impl UnwindSafe for UnknownStubRule
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