pub struct Gost256B { /* private fields */ }
Methods from Deref<Target = ObjectIdentifier>§
sourcepub fn components(&self) -> &Vec<u64>
pub fn components(&self) -> &Vec<u64>
Borrows its internal vector of components.
Examples
use yasna::models::ObjectIdentifier;
let pkcs1 = ObjectIdentifier::from_slice(&
[1, 2, 840, 113549, 1, 1]);
let components : &Vec<u64> = pkcs1.components();
Trait Implementations§
source§impl Deref for Gost256B
impl Deref for Gost256B
§type Target = ObjectIdentifier
type Target = ObjectIdentifier
The resulting type after dereferencing.
source§fn deref(&self) -> &ObjectIdentifier
fn deref(&self) -> &ObjectIdentifier
Dereferences the value.
impl LazyStatic for Gost256B
Auto Trait Implementations§
impl RefUnwindSafe for Gost256B
impl Send for Gost256B
impl Sync for Gost256B
impl Unpin for Gost256B
impl UnwindSafe for Gost256B
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