pub enum GraphProfileError {
EpochUnstamped,
EpochNotRegistered {
epoch: EpochIdentity,
},
UnrecognizedEpochShape {
epoch: EpochIdentity,
shape: GraphProfileShape,
},
}Expand description
Typed failure to resolve one persisted epoch to a measured graph profile.
Variants§
EpochUnstamped
The store predates the epoch registry needed to select a profile.
EpochNotRegistered
A validated alias did not have a matching registry entry in the pinned snapshot.
Fields
§
epoch: EpochIdentityAlias that could not be resolved.
UnrecognizedEpochShape
The registry entry’s complete shape has no measured profile.
Fields
§
epoch: EpochIdentityPersisted embedding and tokenizer epoch being reported.
§
shape: GraphProfileShapeComplete policy key that had no table entry.
Trait Implementations§
Source§impl Clone for GraphProfileError
impl Clone for GraphProfileError
impl Copy for GraphProfileError
Source§impl Debug for GraphProfileError
impl Debug for GraphProfileError
Source§impl Display for GraphProfileError
impl Display for GraphProfileError
impl Eq for GraphProfileError
Source§impl Error for GraphProfileError
impl Error for GraphProfileError
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 GraphProfileError
impl PartialEq for GraphProfileError
impl StructuralPartialEq for GraphProfileError
Auto Trait Implementations§
impl Freeze for GraphProfileError
impl RefUnwindSafe for GraphProfileError
impl Send for GraphProfileError
impl Sync for GraphProfileError
impl Unpin for GraphProfileError
impl UnsafeUnpin for GraphProfileError
impl UnwindSafe for GraphProfileError
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