Enum eigen_trust::EigenError
source · [−]pub enum EigenError {
InvalidPreTrustScores,
PeerNotFound,
GlobalTrustCalculationFailed,
InvalidManagerKeys,
InvalidManagerPerPeer,
FailedToFindManagers,
}Expand description
The module wide error variants.
Variants
InvalidPreTrustScores
Invalid pre trust scores passed
PeerNotFound
Peer not found in the network or peer cache
GlobalTrustCalculationFailed
Managers couldn’t agree on the global trust score for a peer
InvalidManagerKeys
Invalid keys for the manager generated
InvalidManagerPerPeer
Invalid number of managers per peer
FailedToFindManagers
Failed to find managers for a peer
Trait Implementations
sourceimpl Debug for EigenError
impl Debug for EigenError
sourceimpl PartialEq<EigenError> for EigenError
impl PartialEq<EigenError> for EigenError
impl Eq for EigenError
impl StructuralEq for EigenError
impl StructuralPartialEq for EigenError
Auto Trait Implementations
impl RefUnwindSafe for EigenError
impl Send for EigenError
impl Sync for EigenError
impl Unpin for EigenError
impl UnwindSafe for EigenError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more