pub struct HttpPepperService { /* private fields */ }Available on crate feature
keyless only.Expand description
HTTP pepper service client.
Implementations§
Trait Implementations§
Source§impl Clone for HttpPepperService
impl Clone for HttpPepperService
Source§fn clone(&self) -> HttpPepperService
fn clone(&self) -> HttpPepperService
Returns a duplicate of the value. Read more
1.0.0 · 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 HttpPepperService
impl Debug for HttpPepperService
Source§impl PepperService for HttpPepperService
impl PepperService for HttpPepperService
Source§fn get_pepper(
&self,
jwt: &str,
) -> Pin<Box<dyn Future<Output = AptosResult<Pepper>> + Send + '_>>
fn get_pepper( &self, jwt: &str, ) -> Pin<Box<dyn Future<Output = AptosResult<Pepper>> + Send + '_>>
Fetches the pepper for a JWT.
Auto Trait Implementations§
impl Freeze for HttpPepperService
impl !RefUnwindSafe for HttpPepperService
impl Send for HttpPepperService
impl Sync for HttpPepperService
impl Unpin for HttpPepperService
impl UnsafeUnpin for HttpPepperService
impl !UnwindSafe for HttpPepperService
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