pub struct ArtifactReferenceError { /* private fields */ }Expand description
Validation error returned for malformed or cross-scope references.
Implementations§
Source§impl ArtifactReferenceError
impl ArtifactReferenceError
pub const fn kind(&self) -> ArtifactReferenceErrorKind
pub fn message(&self) -> &str
pub const fn is_scope_mismatch(&self) -> bool
Trait Implementations§
Source§impl Clone for ArtifactReferenceError
impl Clone for ArtifactReferenceError
Source§fn clone(&self) -> ArtifactReferenceError
fn clone(&self) -> ArtifactReferenceError
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 moreSource§impl Debug for ArtifactReferenceError
impl Debug for ArtifactReferenceError
Source§impl Display for ArtifactReferenceError
impl Display for ArtifactReferenceError
impl Eq for ArtifactReferenceError
Source§impl Error for ArtifactReferenceError
impl Error for ArtifactReferenceError
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 ArtifactReferenceError
impl PartialEq for ArtifactReferenceError
impl StructuralPartialEq for ArtifactReferenceError
Auto Trait Implementations§
impl Freeze for ArtifactReferenceError
impl RefUnwindSafe for ArtifactReferenceError
impl Send for ArtifactReferenceError
impl Sync for ArtifactReferenceError
impl Unpin for ArtifactReferenceError
impl UnsafeUnpin for ArtifactReferenceError
impl UnwindSafe for ArtifactReferenceError
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