pub struct SignatureDriver { /* private fields */ }
Expand description
FROST signing driver.
Implementations§
Trait Implementations§
Source§impl Driver for SignatureDriver
impl Driver for SignatureDriver
Source§type Output = Signature<Ed25519Sha512>
type Output = Signature<Ed25519Sha512>
Output yielded when the driver completes.
Source§fn handle_event<'life0, 'async_trait>(
&'life0 mut self,
event: Event,
) -> Pin<Box<dyn Future<Output = Result<Option<Self::Output>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn handle_event<'life0, 'async_trait>(
&'life0 mut self,
event: Event,
) -> Pin<Box<dyn Future<Output = Result<Option<Self::Output>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Handle an incoming event.
Source§fn execute<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn execute<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Start running the protocol.
Source§fn into_transport(self) -> Transport
fn into_transport(self) -> Transport
Consume this driver into the underlying transport.
Source§impl From<SignatureDriver> for Transport
impl From<SignatureDriver> for Transport
Source§fn from(value: SignatureDriver) -> Self
fn from(value: SignatureDriver) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SignatureDriver
impl !RefUnwindSafe for SignatureDriver
impl Send for SignatureDriver
impl Sync for SignatureDriver
impl Unpin for SignatureDriver
impl !UnwindSafe for SignatureDriver
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