pub enum EvidenceSessionError {
InvalidSnapshotIdentity,
DuplicateSource(SourceId),
MissingSource(SourceId),
UnexpectedSource(SourceId),
UnboundService,
DuplicateServiceSource(SourceId),
ServiceSnapshotMismatch(SourceId),
ServiceRegistry(ServiceRegistryError),
}Expand description
Invalid project/source snapshot binding.
Variants§
InvalidSnapshotIdentity
Snapshot revision or fingerprint is empty.
DuplicateSource(SourceId)
Two snapshot declarations name the same source.
MissingSource(SourceId)
A project source has no immutable snapshot declaration.
UnexpectedSource(SourceId)
A snapshot does not correspond to any project object.
UnboundService
A service declared no immutable source binding.
DuplicateServiceSource(SourceId)
A service declared the same source binding more than once.
ServiceSnapshotMismatch(SourceId)
A service source is absent from the session or has a different identity.
ServiceRegistry(ServiceRegistryError)
Typed service registration failed.
Trait Implementations§
Source§impl Clone for EvidenceSessionError
impl Clone for EvidenceSessionError
Source§fn clone(&self) -> EvidenceSessionError
fn clone(&self) -> EvidenceSessionError
Returns a copy of the value. Read more
1.0.0 · 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 EvidenceSessionError
impl Debug for EvidenceSessionError
Source§impl Display for EvidenceSessionError
impl Display for EvidenceSessionError
Source§impl Error for EvidenceSessionError
impl Error for EvidenceSessionError
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 From<ServiceRegistryError> for EvidenceSessionError
impl From<ServiceRegistryError> for EvidenceSessionError
Source§fn from(source: ServiceRegistryError) -> Self
fn from(source: ServiceRegistryError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EvidenceSessionError
impl PartialEq for EvidenceSessionError
impl Eq for EvidenceSessionError
impl StructuralPartialEq for EvidenceSessionError
Auto Trait Implementations§
impl Freeze for EvidenceSessionError
impl RefUnwindSafe for EvidenceSessionError
impl Send for EvidenceSessionError
impl Sync for EvidenceSessionError
impl Unpin for EvidenceSessionError
impl UnwindSafe for EvidenceSessionError
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