pub trait EventLoopExtStartupNotify {
// Required method
fn read_token_from_env(&self) -> Option<ActivationToken>;
}Available on
wayland_platform or x11_platform only.Required Methods§
Sourcefn read_token_from_env(&self) -> Option<ActivationToken>
fn read_token_from_env(&self) -> Option<ActivationToken>
Read the token from the environment.
It’s recommended to unset this environment variable for child processes.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".