Struct bitcoin_qt::InitExecutor
source · pub struct InitExecutor { /* private fields */ }
Expand description
| Class encapsulating Bitcoin Core startup | and shutdown. | | Allows running startup and shutdown | in a different thread from the UI thread. |
Implementations§
source§impl InitExecutor
impl InitExecutor
pub fn initialize_result( &mut self, success: bool, tip_info: BlockAndHeaderTipInfo )
pub fn shutdown_result(&mut self)
pub fn runaway_exception(&mut self, message: &String)
pub fn new(node: Rc<RefCell<dyn NodeInterface>>) -> Self
sourcepub fn handle_runaway_exception(&mut self, e: *const u32)
pub fn handle_runaway_exception(&mut self, e: *const u32)
| Pass fatal exception message to UI thread |
pub fn initialize(&mut self)
pub fn shutdown(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for InitExecutor
impl !Send for InitExecutor
impl !Sync for InitExecutor
impl Unpin for InitExecutor
impl !UnwindSafe for InitExecutor
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more