pub struct AggregateError { /* private fields */ }Expand description
Several binding errors that occurred on the same binding notification.
Implementations§
Source§impl AggregateError
impl AggregateError
Sourcepub fn new(inner_errors: Vec<BindingError>) -> Self
pub fn new(inner_errors: Vec<BindingError>) -> Self
Creates an error that aggregates inner_errors.
Sourcepub fn inner_errors(&self) -> &[BindingError]
pub fn inner_errors(&self) -> &[BindingError]
The aggregated errors.
Trait Implementations§
Source§impl Clone for AggregateError
impl Clone for AggregateError
Source§impl Debug for AggregateError
impl Debug for AggregateError
Source§impl Display for AggregateError
impl Display for AggregateError
Source§impl Error for AggregateError
impl Error for AggregateError
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 !RefUnwindSafe for AggregateError
impl !Send for AggregateError
impl !Sync for AggregateError
impl !UnwindSafe for AggregateError
impl Freeze for AggregateError
impl Unpin for AggregateError
impl UnsafeUnpin for AggregateError
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more