pub struct Signer { /* private fields */ }Expand description
An ed25519 signer: server name, key id (ed25519:<version>) and a signing closure.
The closure signs the exact bytes it is given and returns the 64-byte signature.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Signer
impl !UnwindSafe for Signer
impl Freeze for Signer
impl Send for Signer
impl Sync for Signer
impl Unpin for Signer
impl UnsafeUnpin for Signer
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