Enum specta_typescript::NamedLocation
source · pub enum NamedLocation {
Type,
Field,
Variant,
}
Expand description
Describes where an error occurred.
Variants§
Trait Implementations§
source§impl Debug for NamedLocation
impl Debug for NamedLocation
source§impl Display for NamedLocation
impl Display for NamedLocation
source§impl Error for NamedLocation
impl Error for NamedLocation
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 NamedLocation
impl PartialEq for NamedLocation
impl StructuralPartialEq for NamedLocation
Auto Trait Implementations§
impl Freeze for NamedLocation
impl RefUnwindSafe for NamedLocation
impl Send for NamedLocation
impl Sync for NamedLocation
impl Unpin for NamedLocation
impl UnwindSafe for NamedLocation
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