pub struct BuildErrors(pub Vec<BuildError>);Expand description
构建错误集合 — 支持多错误收集。
Tuple Fields§
§0: Vec<BuildError>Implementations§
Trait Implementations§
Source§impl Clone for BuildErrors
impl Clone for BuildErrors
Source§fn clone(&self) -> BuildErrors
fn clone(&self) -> BuildErrors
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 BuildErrors
impl Debug for BuildErrors
Source§impl Default for BuildErrors
impl Default for BuildErrors
Source§fn default() -> BuildErrors
fn default() -> BuildErrors
Returns the “default value” for a type. Read more
Source§impl Display for BuildErrors
impl Display for BuildErrors
Source§impl Error for BuildErrors
impl Error for BuildErrors
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()
Auto Trait Implementations§
impl Freeze for BuildErrors
impl RefUnwindSafe for BuildErrors
impl Send for BuildErrors
impl Sync for BuildErrors
impl Unpin for BuildErrors
impl UnsafeUnpin for BuildErrors
impl UnwindSafe for BuildErrors
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