Enum git2::CertificateCheckStatus
source · pub enum CertificateCheckStatus {
CertificateOk,
CertificatePassthrough,
}
Expand description
The return value for the RemoteCallbacks::certificate_check
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§
impl RefUnwindSafe for CertificateCheckStatus
impl Send for CertificateCheckStatus
impl Sync for CertificateCheckStatus
impl Unpin for CertificateCheckStatus
impl UnwindSafe for CertificateCheckStatus
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