Enum tlsn_prover::tls::ProverError
source · pub enum ProverError {
TlsClientError(Error),
AsyncClientError(ConnectionError),
IOError(Error),
NotarizationError(String),
CommitmentBuilder(TranscriptCommitmentBuilderError),
InvalidServerName(InvalidDnsNameError),
MpcError(Box<dyn Error + Send + Sync + 'static>),
ServerNoCloseNotify,
CommitmentError(CommitmentError),
InvalidRange,
ProtocolConfigError(ProtocolConfigError),
}
Expand description
An error that can occur during proving.
Variants§
TlsClientError(Error)
AsyncClientError(ConnectionError)
IOError(Error)
NotarizationError(String)
CommitmentBuilder(TranscriptCommitmentBuilderError)
InvalidServerName(InvalidDnsNameError)
MpcError(Box<dyn Error + Send + Sync + 'static>)
ServerNoCloseNotify
CommitmentError(CommitmentError)
InvalidRange
ProtocolConfigError(ProtocolConfigError)
Trait Implementations§
source§impl Debug for ProverError
impl Debug for ProverError
source§impl Display for ProverError
impl Display for ProverError
source§impl Error for ProverError
impl Error for ProverError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<ConnectionError> for ProverError
impl From<ConnectionError> for ProverError
source§impl From<ConnectionError> for ProverError
impl From<ConnectionError> for ProverError
source§impl From<ContextError> for ProverError
impl From<ContextError> for ProverError
source§impl From<DEAPError> for ProverError
impl From<DEAPError> for ProverError
source§impl From<Error> for ProverError
impl From<Error> for ProverError
source§impl From<Error> for ProverError
impl From<Error> for ProverError
source§impl From<InvalidDnsNameError> for ProverError
impl From<InvalidDnsNameError> for ProverError
source§impl From<MemoryError> for ProverError
impl From<MemoryError> for ProverError
source§impl From<MerkleError> for ProverError
impl From<MerkleError> for ProverError
source§fn from(e: MerkleError) -> Self
fn from(e: MerkleError) -> Self
Converts to this type from the input type.
source§impl From<MpcTlsError> for ProverError
impl From<MpcTlsError> for ProverError
source§impl From<OLEError> for ProverError
impl From<OLEError> for ProverError
source§impl From<OTError> for ProverError
impl From<OTError> for ProverError
source§impl From<ProtocolConfigError> for ProverError
impl From<ProtocolConfigError> for ProverError
source§impl From<ProveError> for ProverError
impl From<ProveError> for ProverError
source§impl From<ProverError> for HttpProverError
impl From<ProverError> for HttpProverError
source§fn from(source: ProverError) -> Self
fn from(source: ProverError) -> Self
Converts to this type from the input type.
source§impl From<ReceiverError> for ProverError
impl From<ReceiverError> for ProverError
source§impl From<SenderError> for ProverError
impl From<SenderError> for ProverError
source§impl From<TranscriptCommitmentBuilderError> for ProverError
impl From<TranscriptCommitmentBuilderError> for ProverError
source§fn from(source: TranscriptCommitmentBuilderError) -> Self
fn from(source: TranscriptCommitmentBuilderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ProverError
impl !RefUnwindSafe for ProverError
impl Send for ProverError
impl Sync for ProverError
impl Unpin for ProverError
impl !UnwindSafe for ProverError
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> SpawnCompatExt for T
impl<T> SpawnCompatExt for T
§fn compat_ref(&self) -> Compat<&T>
fn compat_ref(&self) -> Compat<&T>
Wrap a reference to the executor in a
Compat
wrapper.§fn compat_mut(&mut self) -> Compat<&mut T>
fn compat_mut(&mut self) -> Compat<&mut T>
Wrap a mutable reference to the executor in a
Compat
wrapper.§impl<T> SpawnCompatExt for T
impl<T> SpawnCompatExt for T
§fn compat_ref(&self) -> Compat<&T>
fn compat_ref(&self) -> Compat<&T>
Wrap a reference to the executor in a
Compat
wrapper.§fn compat_mut(&mut self) -> Compat<&mut T>
fn compat_mut(&mut self) -> Compat<&mut T>
Wrap a mutable reference to the executor in a
Compat
wrapper.