[−][src]Enum ctclient::Error
Errors that this library could produce.
Variants
Unknown(String)
Something strange happened.
InvalidArgument(String)
You provided something bad.
File IO error
NetIO(Error)
Network IO error
InvalidSignature(String)
The CT server provided us with invalid signature.
InvalidResponseStatus(StatusCode)
The CT server responded with something other than 200.
MalformedResponseBody(String)
Server responded with something bad (e.g. malformed JSON)
Server returned an invalid consistency proof.
CannotVerifyTreeData(String)
ConsistencyProofPart::verify failed
BadCertificate(String)
Something's wrong with the certificate.
Server returned an invalid inclusion proof.
BadSct(String)
A malformed SCT is given.
Trait Implementations
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,