pub trait NodeShutdownBridge {
Show 13 methods
// Required methods
fn get_removal_tracker_info(&self, state: ShutdownState) -> NodeInfo;
fn stop_driver(&self);
fn stop_driver_component(&self);
fn is_pending_bind(&self) -> bool;
fn has_children(&self) -> bool;
fn has_driver(&self) -> bool;
fn has_driver_component(&self) -> bool;
fn collection(&self) -> Collection;
fn children(&self) -> Vec<Rc<dyn ShutdownNode>>;
fn get_weak_node(&self) -> Weak<dyn ShutdownNode>;
fn has_driver_component_controller(&self) -> bool;
fn maybe_destroy_driver_component(&self, intent: ShutdownIntent) -> bool;
fn get_driver_host(&self) -> Option<Rc<dyn DriverHost>>;
}Required Methods§
fn get_removal_tracker_info(&self, state: ShutdownState) -> NodeInfo
fn stop_driver(&self)
fn stop_driver_component(&self)
fn is_pending_bind(&self) -> bool
fn has_children(&self) -> bool
fn has_driver(&self) -> bool
fn has_driver_component(&self) -> bool
fn collection(&self) -> Collection
fn children(&self) -> Vec<Rc<dyn ShutdownNode>>
fn get_weak_node(&self) -> Weak<dyn ShutdownNode>
fn has_driver_component_controller(&self) -> bool
fn maybe_destroy_driver_component(&self, intent: ShutdownIntent) -> bool
fn get_driver_host(&self) -> Option<Rc<dyn DriverHost>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".