[go: up one dir, main page]

pub enum CertificateCheckStatus {
    CertificateOk,
    CertificatePassthrough,
}
Expand description

The return value for the [CertificateCheck] callback.

Variants§

§

CertificateOk

Indicates that the certificate should be accepted.

§

CertificatePassthrough

Indicates that the certificate callback is neither accepting nor rejecting the certificate. The result of the certificate checks built-in to libgit2 will be used instead.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.