pub enum TransformationError {
JsonLdExpansion(String),
JsonLdDeserialization(IntoQuadsError),
ProofConfigurationExpansion(ConfigurationExpansionError),
JsonSerialization(SerializeError),
ExpectedJsonObject,
InvalidInput,
InvalidOptions,
InvalidKey,
Internal(String),
}Variants§
JsonLdExpansion(String)
JsonLdDeserialization(IntoQuadsError)
ProofConfigurationExpansion(ConfigurationExpansionError)
JsonSerialization(SerializeError)
ExpectedJsonObject
InvalidInput
InvalidOptions
InvalidKey
Internal(String)
Implementations§
Source§impl TransformationError
impl TransformationError
pub fn internal(e: impl ToString) -> TransformationError
pub fn json_ld_expansion(e: impl ToString) -> TransformationError
Trait Implementations§
Source§impl Debug for TransformationError
impl Debug for TransformationError
Source§impl Display for TransformationError
impl Display for TransformationError
Source§impl Error for TransformationError
impl Error for TransformationError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<ConfigurationExpansionError> for TransformationError
impl From<ConfigurationExpansionError> for TransformationError
Source§fn from(source: ConfigurationExpansionError) -> TransformationError
fn from(source: ConfigurationExpansionError) -> TransformationError
Converts to this type from the input type.
Source§impl From<IntoQuadsError> for TransformationError
impl From<IntoQuadsError> for TransformationError
Source§fn from(source: IntoQuadsError) -> TransformationError
fn from(source: IntoQuadsError) -> TransformationError
Converts to this type from the input type.
Source§impl From<SerializeError> for TransformationError
impl From<SerializeError> for TransformationError
Source§fn from(source: SerializeError) -> TransformationError
fn from(source: SerializeError) -> TransformationError
Converts to this type from the input type.
Source§impl From<TransformationError> for ClaimsPreparationError
impl From<TransformationError> for ClaimsPreparationError
Source§fn from(source: TransformationError) -> ClaimsPreparationError
fn from(source: TransformationError) -> ClaimsPreparationError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TransformationError
impl !RefUnwindSafe for TransformationError
impl Send for TransformationError
impl Sync for TransformationError
impl Unpin for TransformationError
impl !UnwindSafe for TransformationError
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> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
Source§impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
Source§impl<T> ResourceProvider<()> for T
impl<T> ResourceProvider<()> for T
Source§fn get_resource(&self) -> &()
fn get_resource(&self) -> &()
Returns a reference to the resource of type
T.