Skip to main content

LibCode

Enum LibCode 

Source
#[repr(i32)]
pub enum LibCode {
Show 34 variants None = 1, Sys = 2, Bn = 3, Rsa = 4, Dh = 5, Evp = 6, Buf = 7, Obj = 8, Pem = 9, Dsa = 10, X509 = 11, Asn1 = 12, Conf = 13, Crypto = 14, Ec = 15, Ssl = 16, Bio = 17, Pkcs7 = 18, Pkcs8 = 19, X509v3 = 20, Rand = 21, Engine = 22, Ocsp = 23, Ui = 24, Comp = 25, Ecdsa = 26, Ecdh = 27, Hmac = 28, Digest = 29, Cipher = 30, Hkdf = 31, TrustToken = 32, Cms = 33, User = 34,
}
Expand description

Library code of the BoringSSL errors.

Variants§

§

None = 1

No module

§

Sys = 2

Module SYS

§

Bn = 3

Module BN

§

Rsa = 4

Module RSA

§

Dh = 5

Module DH

§

Evp = 6

Module EVP

§

Buf = 7

Module BUF

§

Obj = 8

Module OBJ

§

Pem = 9

Module PEM

§

Dsa = 10

Module DSA

§

X509 = 11

Module X509

§

Asn1 = 12

Module ASN1

§

Conf = 13

Module CONF

§

Crypto = 14

Module CRYPTO

§

Ec = 15

Module EC

§

Ssl = 16

Module SSL

§

Bio = 17

Module BIO

§

Pkcs7 = 18

Module PKCS7

§

Pkcs8 = 19

Module PKCS8

§

X509v3 = 20

Module X509V3

§

Rand = 21

Module RAND

§

Engine = 22

Module ENGINE

§

Ocsp = 23

Module OCSP

§

Ui = 24

Module UI

§

Comp = 25

Module COMP

§

Ecdsa = 26

Module ECDSA

§

Ecdh = 27

Module ECDH

§

Hmac = 28

Module HMAC

§

Digest = 29

Module DIGEST

§

Cipher = 30

Module CIPHER

§

Hkdf = 31

Module HKDF

§

TrustToken = 32

Module TRUST_TOKEN

§

Cms = 33

Module CMS

§

User = 34

User sourced

Trait Implementations§

Source§

impl Clone for LibCode

Source§

fn clone(&self) -> LibCode

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for LibCode

Source§

impl Debug for LibCode

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for LibCode

Source§

impl PartialEq for LibCode

Source§

fn eq(&self, other: &LibCode) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for LibCode

Source§

impl TryFrom<i32> for LibCode

Source§

type Error = i32

The type returned in the event of a conversion error.
Source§

fn try_from(value: i32) -> Result<Self, Self::Error>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.