pub struct SecretSigner { /* private fields */ }Implementations§
Source§impl SecretSigner
impl SecretSigner
pub const fn new( config: SlackAuthConfig, request_body: String, timestamp: i64, ) -> Self
pub fn sign(&self) -> Result<String, InvalidLength>
Auto Trait Implementations§
impl Freeze for SecretSigner
impl RefUnwindSafe for SecretSigner
impl Send for SecretSigner
impl Sync for SecretSigner
impl Unpin for SecretSigner
impl UnsafeUnpin for SecretSigner
impl UnwindSafe for SecretSigner
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