pub enum TranscriptError {
InvalidTranscript(String),
SerializationError(SerializationError),
}Expand description
A enum specifying the possible failure modes of the Transcript.
Variants§
InvalidTranscript(String)
Invalid Transcript: {0}
SerializationError(SerializationError)
An error during (de)serialization: {0}
Trait Implementations§
Source§impl Debug for TranscriptError
impl Debug for TranscriptError
Source§impl Display for TranscriptError
impl Display for TranscriptError
Source§impl From<SerializationError> for TranscriptError
impl From<SerializationError> for TranscriptError
Source§impl From<TranscriptError> for PCSError
impl From<TranscriptError> for PCSError
Source§fn from(e: TranscriptError) -> Self
fn from(e: TranscriptError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TranscriptError
impl !RefUnwindSafe for TranscriptError
impl Send for TranscriptError
impl Sync for TranscriptError
impl Unpin for TranscriptError
impl !UnwindSafe for TranscriptError
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
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