Enum rpki::ca::provisioning::Error
source · pub enum Error {
InvalidVersion,
XmlError(Error),
InvalidPayloadType(PayloadTypeError),
InvalidCsrSyntax(String),
CertSyntax(String),
CmsDecode(DecodeError<Infallible>),
Validation(ValidationError),
Limit(ResourceSet, RequestResourceLimit),
}
Variants§
InvalidVersion
XmlError(Error)
InvalidPayloadType(PayloadTypeError)
InvalidCsrSyntax(String)
CertSyntax(String)
CmsDecode(DecodeError<Infallible>)
Validation(ValidationError)
Limit(ResourceSet, RequestResourceLimit)
Trait Implementations§
source§impl From<PayloadTypeError> for Error
impl From<PayloadTypeError> for Error
source§fn from(e: PayloadTypeError) -> Self
fn from(e: PayloadTypeError) -> Self
Converts to this type from the input type.
source§impl From<ValidationError> for Error
impl From<ValidationError> for Error
source§fn from(e: ValidationError) -> Self
fn from(e: ValidationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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> Text for Twhere
T: Display,
impl<T> Text for Twhere
T: Display,
source§fn write_escaped(
&self,
mode: TextEscape,
target: &mut impl Write
) -> Result<(), Error>
fn write_escaped( &self, mode: TextEscape, target: &mut impl Write ) -> Result<(), Error>
Write text escaped for the given mode to
target
.