Enum brb::error::ValidationError [−][src]
Enumerates types of packet validation errors.
Note that all of these errors are generated within the BRB module itself with the exception of DataTypeFailedValidation, which occurs when a BRBDataType validation fails according to its own internal logic.
Variants
The actor who sent this packet is different from the actor who incremented the dot
Fields of PacketSourceIsNotDot
The dot in this message is out of order
Fields of MsgDotNotTheNextDot
The source of this message already has a pending message, we can not start a new operation until the first one has completed
Fields of SourceAlreadyHasPendingMsg
This message is not from this generation
Fields of MessageFromDifferentGeneration
Source is not a voting member
Fields of SourceIsNotVotingMember
the datatype failed to validate the operation
Signature is invalid
We received a SignedValidated packet for a message we did not request
Message dot to be applied is not the next message to be delivered
Fields of MsgDotNotNextDotToBeDelivered
The proof did not contain enough signatures to form quorum
Proof contains signatures from non-members
Proof contains invalid signatures
PhantomSig(PhantomData<S>)
Phantom, unused.
Trait Implementations
impl<A: Debug + Actor<S> + 'static, S: Debug + Sig + 'static, V: Debug + Error + 'static> Debug for ValidationError<A, S, V>
[src]
impl<A: Actor<S> + 'static, S: Sig + 'static, V: Debug + Error + 'static> Display for ValidationError<A, S, V>
[src]
impl<A: Actor<S> + 'static, S: Sig + 'static, V: Debug + Error + 'static> Error for ValidationError<A, S, V>
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl<A: Actor<S> + 'static, S: Sig + 'static, V: Debug + Error + 'static> From<ValidationError<A, S, V>> for Error<A, S, V>
[src]
fn from(source: ValidationError<A, S, V>) -> Self
[src]
Auto Trait Implementations
impl<A, S, V> RefUnwindSafe for ValidationError<A, S, V> where
A: RefUnwindSafe,
S: RefUnwindSafe,
V: RefUnwindSafe,
[src]
A: RefUnwindSafe,
S: RefUnwindSafe,
V: RefUnwindSafe,
impl<A, S, V> Send for ValidationError<A, S, V> where
A: Send,
S: Send,
V: Send,
[src]
A: Send,
S: Send,
V: Send,
impl<A, S, V> Sync for ValidationError<A, S, V> where
A: Sync,
S: Sync,
V: Sync,
[src]
A: Sync,
S: Sync,
V: Sync,
impl<A, S, V> Unpin for ValidationError<A, S, V> where
A: Unpin,
S: Unpin,
V: Unpin,
[src]
A: Unpin,
S: Unpin,
V: Unpin,
impl<A, S, V> UnwindSafe for ValidationError<A, S, V> where
A: RefUnwindSafe + UnwindSafe,
S: UnwindSafe,
V: UnwindSafe,
[src]
A: RefUnwindSafe + UnwindSafe,
S: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,