pub struct BaseSigner { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Signer for BaseSigner
impl Signer for BaseSigner
fn sign(&self, value: String) -> String
fn unsign(&self, signed_value: String) -> Result<String, SignatureError>
fn sign_object<T>(&self, obj: T, compress: bool) -> Stringwhere
T: Serialize,
fn unsign_object<T>(&self, signed_object: String) -> Result<T, SignatureError>where
T: DeserializeOwned,
Auto Trait Implementations§
impl Freeze for BaseSigner
impl RefUnwindSafe for BaseSigner
impl Send for BaseSigner
impl Sync for BaseSigner
impl Unpin for BaseSigner
impl UnwindSafe for BaseSigner
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