pub struct RpcAuthenticationKey(/* private fields */);Implementations§
Source§impl RpcAuthenticationKey
impl RpcAuthenticationKey
pub fn new(bytes: Vec<u8>) -> RpcAuthenticationKey
pub fn from_rns_transport_identity_secret( secret: &[u8; 64], ) -> RpcAuthenticationKey
pub fn as_bytes(&self) -> &[u8] ⓘ
Trait Implementations§
Source§impl Clone for RpcAuthenticationKey
impl Clone for RpcAuthenticationKey
Source§fn clone(&self) -> RpcAuthenticationKey
fn clone(&self) -> RpcAuthenticationKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RpcAuthenticationKey
impl Debug for RpcAuthenticationKey
Source§impl Drop for RpcAuthenticationKey
impl Drop for RpcAuthenticationKey
impl Eq for RpcAuthenticationKey
Source§impl PartialEq for RpcAuthenticationKey
impl PartialEq for RpcAuthenticationKey
impl StructuralPartialEq for RpcAuthenticationKey
Auto Trait Implementations§
impl Freeze for RpcAuthenticationKey
impl RefUnwindSafe for RpcAuthenticationKey
impl Send for RpcAuthenticationKey
impl Sync for RpcAuthenticationKey
impl Unpin for RpcAuthenticationKey
impl UnsafeUnpin for RpcAuthenticationKey
impl UnwindSafe for RpcAuthenticationKey
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