Struct distrand::errors::RevealError [−][src]
pub struct RevealError<I> { /* fields omitted */ }
The type of error returned when revealing the generated value.
Methods
impl<I> RevealError<I>
[src]
impl<I> RevealError<I>
pub fn failed(
self
) -> impl Iterator<Item = (RevealErrorKind, I)>
[src]
pub fn failed(
self
) -> impl Iterator<Item = (RevealErrorKind, I)>
Iterator over the participants who caused the reveal to fail.
Trait Implementations
impl<I> Debug for RevealError<I>
[src]
impl<I> Debug for RevealError<I>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<I> Display for RevealError<I>
[src]
impl<I> Display for RevealError<I>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<I> StdError for RevealError<I>
[src]
impl<I> StdError for RevealError<I>
Auto Trait Implementations
impl<I> Send for RevealError<I> where
I: Send,
impl<I> Send for RevealError<I> where
I: Send,
impl<I> Sync for RevealError<I> where
I: Sync,
impl<I> Sync for RevealError<I> where
I: Sync,