Adds another shutdown button to this handle. This button will then also be pressed, whenever the handle is shut down or dropped.
(&mut self, button: ShutdownButton<CapabilitySet<T>>)
| 299 | /// then also be pressed, whenever the handle is shut down or |
| 300 | /// dropped. |
| 301 | pub fn add_button<T: Timestamp>(&mut self, button: ShutdownButton<CapabilitySet<T>>) { |
| 302 | self.shutdown_buttons.push(Box::new(button)); |
| 303 | } |
| 304 | |
| 305 | /// Combines the buttons of another handle into self. |
| 306 | pub fn merge_with(&mut self, mut other: Self) { |
no outgoing calls
no test coverage detected