Trait bdk::blockchain::Progress
source · pub trait Progress: Send + 'static + Debug {
// Required method
fn update(
&self,
progress: f32,
message: Option<String>
) -> Result<(), Error>;
}
Expand description
Trait for types that can receive and process progress updates during WalletSync::wallet_sync
and
WalletSync::wallet_setup