pub struct RpcServerChallenge { /* private fields */ }Implementations§
Source§impl RpcServerChallenge
impl RpcServerChallenge
pub fn new(nonce: RpcChallengeNonce) -> RpcServerChallenge
pub fn wire_payload(&self) -> &[u8] ⓘ
pub fn authenticate_response( &self, key: &RpcAuthenticationKey, response: &[u8], ) -> Result<RpcAuthenticationVerdict, RpcAuthenticationError>
Trait Implementations§
Source§impl Clone for RpcServerChallenge
impl Clone for RpcServerChallenge
Source§fn clone(&self) -> RpcServerChallenge
fn clone(&self) -> RpcServerChallenge
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 RpcServerChallenge
impl Debug for RpcServerChallenge
impl Eq for RpcServerChallenge
Source§impl PartialEq for RpcServerChallenge
impl PartialEq for RpcServerChallenge
impl StructuralPartialEq for RpcServerChallenge
Auto Trait Implementations§
impl Freeze for RpcServerChallenge
impl RefUnwindSafe for RpcServerChallenge
impl Send for RpcServerChallenge
impl Sync for RpcServerChallenge
impl Unpin for RpcServerChallenge
impl UnsafeUnpin for RpcServerChallenge
impl UnwindSafe for RpcServerChallenge
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