pub struct CollectError { /* private fields */ }Expand description
Aggregated SDK diagnostics produced by collection-style operations.
The individual diagnostics remain available through CollectError::errors
and their display output is preserved when the aggregate is formatted,
including per-error hint: lines.
Implementations§
Source§impl CollectError
impl CollectError
Sourcepub fn into_errors(self) -> Vec<RmuxError>
pub fn into_errors(self) -> Vec<RmuxError>
Consumes the aggregate and returns the collected diagnostics.
Trait Implementations§
Source§impl Debug for CollectError
impl Debug for CollectError
Source§impl Default for CollectError
impl Default for CollectError
Source§fn default() -> CollectError
fn default() -> CollectError
Returns the “default value” for a type. Read more
Source§impl Display for CollectError
impl Display for CollectError
Source§impl Error for CollectError
impl Error for CollectError
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 Extend<RmuxError> for CollectError
impl Extend<RmuxError> for CollectError
Source§fn extend<T: IntoIterator<Item = RmuxError>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = RmuxError>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one)Reserves capacity in a collection for the given number of additional elements. Read more
Source§impl From<CollectError> for RmuxError
impl From<CollectError> for RmuxError
Source§fn from(error: CollectError) -> Self
fn from(error: CollectError) -> Self
Converts to this type from the input type.
Source§impl FromIterator<RmuxError> for CollectError
impl FromIterator<RmuxError> for CollectError
Auto Trait Implementations§
impl !RefUnwindSafe for CollectError
impl !UnwindSafe for CollectError
impl Freeze for CollectError
impl Send for CollectError
impl Sync for CollectError
impl Unpin for CollectError
impl UnsafeUnpin for CollectError
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