pub struct AssemblyErrors(/* private fields */);Expand description
A nonempty, ordered collection of composition-assembly failures.
Implementations§
Source§impl AssemblyErrors
impl AssemblyErrors
Sourcepub fn errors(&self) -> &[AssemblyError]
pub fn errors(&self) -> &[AssemblyError]
Returns failures in deterministic validation order.
Trait Implementations§
Source§impl Clone for AssemblyErrors
impl Clone for AssemblyErrors
Source§fn clone(&self) -> AssemblyErrors
fn clone(&self) -> AssemblyErrors
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 AssemblyErrors
impl Debug for AssemblyErrors
Source§impl Display for AssemblyErrors
impl Display for AssemblyErrors
impl Eq for AssemblyErrors
Source§impl Error for AssemblyErrors
impl Error for AssemblyErrors
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 AssemblyErrors
impl PartialEq for AssemblyErrors
impl StructuralPartialEq for AssemblyErrors
Auto Trait Implementations§
impl Freeze for AssemblyErrors
impl RefUnwindSafe for AssemblyErrors
impl Send for AssemblyErrors
impl Sync for AssemblyErrors
impl Unpin for AssemblyErrors
impl UnsafeUnpin for AssemblyErrors
impl UnwindSafe for AssemblyErrors
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