pub trait ApplicationExtManual: Sealed + IsA<Application> {
// Provided methods
fn run(&self) -> ExitCode { ... }
fn run_with_args<S: AsRef<str>>(&self, args: &[S]) -> ExitCode { ... }
fn connect_open<F: Fn(&Self, &[File], &str) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn hold(&self) -> ApplicationHoldGuard { ... }
fn mark_busy(&self) -> ApplicationBusyGuard { ... }
}
Provided Methods§
fn run(&self) -> ExitCode
fn run_with_args<S: AsRef<str>>(&self, args: &[S]) -> ExitCode
fn connect_open<F: Fn(&Self, &[File], &str) + 'static>( &self, f: F, ) -> SignalHandlerId
fn hold(&self) -> ApplicationHoldGuard
fn mark_busy(&self) -> ApplicationBusyGuard
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.