#[non_exhaustive]pub enum MultiError {
NoRevisions,
UnknownRevision(ProtocolRevision),
}Expand description
Error produced by a multi-revision run.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NoRevisions
No revisions were requested; there is nothing to judge against.
UnknownRevision(ProtocolRevision)
A requested revision is not one the registry set describes.
Trait Implementations§
Source§impl Clone for MultiError
impl Clone for MultiError
Source§fn clone(&self) -> MultiError
fn clone(&self) -> MultiError
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 MultiError
impl Debug for MultiError
Source§impl Display for MultiError
impl Display for MultiError
impl Eq for MultiError
Source§impl Error for MultiError
impl Error for MultiError
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 MultiError
impl PartialEq for MultiError
impl StructuralPartialEq for MultiError
Auto Trait Implementations§
impl Freeze for MultiError
impl RefUnwindSafe for MultiError
impl Send for MultiError
impl Sync for MultiError
impl Unpin for MultiError
impl UnsafeUnpin for MultiError
impl UnwindSafe for MultiError
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