Struct cryptex::KeyRingSecret
source · [−]Tuple Fields
0: Vec<u8>
Implementations
sourceimpl KeyRingSecret
impl KeyRingSecret
pub fn new(d: Vec<u8>) -> Self
pub fn as_slice(&self) -> &[u8]ⓘNotable traits for &'_ [u8]impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
pub fn as_mut_slice(&mut self) -> &mut [u8]ⓘNotable traits for &'_ [u8]impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
pub fn to_vec(&self) -> Vec<u8>
sourcepub fn as_mut_ptr(&mut self) -> *mut u8
pub fn as_mut_ptr(&mut self) -> *mut u8
Converts the object to a mutable raw pointer for FFI interfacing
pub fn is_empty(&self) -> bool
Trait Implementations
sourceimpl Clone for KeyRingSecret
impl Clone for KeyRingSecret
sourcefn clone(&self) -> KeyRingSecret
fn clone(&self) -> KeyRingSecret
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for KeyRingSecret
impl Debug for KeyRingSecret
sourceimpl Display for KeyRingSecret
impl Display for KeyRingSecret
sourceimpl Drop for KeyRingSecret
impl Drop for KeyRingSecret
sourceimpl Index<Range<usize>> for KeyRingSecret
impl Index<Range<usize>> for KeyRingSecret
sourceimpl Index<RangeFrom<usize>> for KeyRingSecret
impl Index<RangeFrom<usize>> for KeyRingSecret
sourceimpl Index<RangeFull> for KeyRingSecret
impl Index<RangeFull> for KeyRingSecret
sourceimpl Index<RangeTo<usize>> for KeyRingSecret
impl Index<RangeTo<usize>> for KeyRingSecret
sourceimpl Index<usize> for KeyRingSecret
impl Index<usize> for KeyRingSecret
sourceimpl PartialEq<KeyRingSecret> for KeyRingSecret
impl PartialEq<KeyRingSecret> for KeyRingSecret
sourceimpl Zeroize for KeyRingSecret
impl Zeroize for KeyRingSecret
impl Eq for KeyRingSecret
Auto Trait Implementations
impl RefUnwindSafe for KeyRingSecret
impl Send for KeyRingSecret
impl Sync for KeyRingSecret
impl Unpin for KeyRingSecret
impl UnwindSafe for KeyRingSecret
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more