pub struct Verifier { /* private fields */ }
Implementations
sourceimpl Verifier
impl Verifier
pub fn verify(
&self,
m: &Macaroon,
key: &MacaroonKey,
discharges: Vec<Macaroon>
) -> Result<()>
pub fn satisfy_exact(&mut self, b: ByteString)
pub fn satisfy_general(&mut self, f: VerifyFunc)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Verifier
impl Send for Verifier
impl Sync for Verifier
impl Unpin for Verifier
impl UnwindSafe for Verifier
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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