pub trait IBGTask: PNSObject {
// Provided methods
fn p_identifier(&self) -> NSString { ... }
fn p_expiration_handler(&self) { ... }
fn m_set_task_completed_with_success(&mut self, success: bool) { ... }
}Expand description
A trait containing all the methods for BGTask
Provided Methods§
Sourcefn p_identifier(&self) -> NSString
fn p_identifier(&self) -> NSString
The identifier of the task.
Sourcefn p_expiration_handler(&self)
fn p_expiration_handler(&self)
A handler called shortly before the task’s background time expires.
Sourcefn m_set_task_completed_with_success(&mut self, success: bool)
fn m_set_task_completed_with_success(&mut self, success: bool)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".