pub enum RejectReason {
Unauthorized,
InvalidSignature,
AuthorityRevoked,
CausalityViolation,
MissingDependency(EventId),
OutOfBounds,
RateLimitExceeded,
EntropyExceeded,
TooLate,
ReplayDetected,
}Expand description
Reason for event rejection
Variants§
Source not authorized
InvalidSignature
Invalid signature
AuthorityRevoked
Authority was revoked
CausalityViolation
Causality violation
MissingDependency(EventId)
Missing dependency
OutOfBounds
Out of bounds
RateLimitExceeded
Rate limit exceeded
EntropyExceeded
Entropy exceeded
TooLate
Too late (beyond correction horizon)
ReplayDetected
Replay detected
Trait Implementations§
Source§impl Clone for RejectReason
impl Clone for RejectReason
Source§fn clone(&self) -> RejectReason
fn clone(&self) -> RejectReason
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for RejectReason
impl RefUnwindSafe for RejectReason
impl Send for RejectReason
impl Sync for RejectReason
impl Unpin for RejectReason
impl UnwindSafe for RejectReason
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