pub enum IcNodeStatusProjectionError {
InvalidSnapshot {
reason: String,
},
EmptyTarget {
kind: &'static str,
},
UnknownTarget {
kind: &'static str,
target: String,
},
AmbiguousTarget {
kind: &'static str,
prefix: String,
matches: Vec<String>,
},
}Expand description
IcNodeStatusProjectionError
Failure to resolve or project a requested observed status view.
Variants§
InvalidSnapshot
Snapshot-level counts or canonical ordering do not match raw rows.
EmptyTarget
The supplied target is empty after trimming.
UnknownTarget
No observed identifier matches the supplied target.
AmbiguousTarget
More than one observed identifier matches the supplied prefix.
Trait Implementations§
Source§impl Clone for IcNodeStatusProjectionError
impl Clone for IcNodeStatusProjectionError
Source§fn clone(&self) -> IcNodeStatusProjectionError
fn clone(&self) -> IcNodeStatusProjectionError
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 IcNodeStatusProjectionError
impl Debug for IcNodeStatusProjectionError
impl Eq for IcNodeStatusProjectionError
Source§impl Error for IcNodeStatusProjectionError
impl Error for IcNodeStatusProjectionError
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()
impl StructuralPartialEq for IcNodeStatusProjectionError
Auto Trait Implementations§
impl Freeze for IcNodeStatusProjectionError
impl RefUnwindSafe for IcNodeStatusProjectionError
impl Send for IcNodeStatusProjectionError
impl Sync for IcNodeStatusProjectionError
impl Unpin for IcNodeStatusProjectionError
impl UnsafeUnpin for IcNodeStatusProjectionError
impl UnwindSafe for IcNodeStatusProjectionError
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