pub struct PowManager;Implementations§
Source§impl PowManager
impl PowManager
pub fn new(_cfg: PowConfig) -> Self
pub fn enabled(&self) -> bool
pub async fn issue(&self) -> RegistryResult<PowChallenge>
pub async fn verify_header(&self, _value: Option<&str>) -> RegistryResult<()>
Trait Implementations§
Source§impl Clone for PowManager
impl Clone for PowManager
Source§fn clone(&self) -> PowManager
fn clone(&self) -> PowManager
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 moreAuto Trait Implementations§
impl Freeze for PowManager
impl RefUnwindSafe for PowManager
impl Send for PowManager
impl Sync for PowManager
impl Unpin for PowManager
impl UnwindSafe for PowManager
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