Struct openssl::asn1::Asn1BitStringRef [−]
pub struct Asn1BitStringRef(_);
Reference to Asn1BitString
Methods
impl Asn1BitStringRef
[src]
impl Asn1BitStringRef
pub fn as_slice(&self) -> &[u8]
[src]
pub fn as_slice(&self) -> &[u8]
Returns the Asn1BitString as a slice
pub fn len(&self) -> usize
[src]
pub fn len(&self) -> usize
Length of Asn1BitString in number of bytes.
Trait Implementations
impl Borrow<Asn1BitStringRef> for Asn1BitString
impl Borrow<Asn1BitStringRef> for Asn1BitString
fn borrow(&self) -> &Asn1BitStringRef
fn borrow(&self) -> &Asn1BitStringRef
Immutably borrows from an owned value. Read more
impl AsRef<Asn1BitStringRef> for Asn1BitString
impl AsRef<Asn1BitStringRef> for Asn1BitString
fn as_ref(&self) -> &Asn1BitStringRef
fn as_ref(&self) -> &Asn1BitStringRef
Performs the conversion.
impl ForeignTypeRef for Asn1BitStringRef
impl ForeignTypeRef for Asn1BitStringRef
type CType = ASN1_BIT_STRING
The raw C type.
ⓘImportant traits for &'a mut Runsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
[src]
ⓘImportant traits for &'a mut R
unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
Constructs a shared instance of this type from its raw type.
ⓘImportant traits for &'a mut Runsafe fn from_ptr_mut<'a>(ptr: *mut Self::CType) -> &'a mut Self
[src]
ⓘImportant traits for &'a mut R
unsafe fn from_ptr_mut<'a>(ptr: *mut Self::CType) -> &'a mut Self
Constructs a mutable reference of this type from its raw type.
fn as_ptr(&self) -> *mut Self::CType
[src]
fn as_ptr(&self) -> *mut Self::CType
Returns a raw pointer to the wrapped value.
impl Send for Asn1BitStringRef
[src]
impl Send for Asn1BitStringRef
impl Sync for Asn1BitStringRef
[src]
impl Sync for Asn1BitStringRef