pub unsafe trait LAEnvironmentObserver: NSObjectProtocol {
// Provided method
unsafe fn environment_stateDidChangeFromOldState(
&self,
environment: &LAEnvironment,
old_state: &LAEnvironmentState,
)
where Self: Sized + Message { ... }
}Available on crate feature
LAEnvironment only.Expand description
Provided Methods§
Sourceunsafe fn environment_stateDidChangeFromOldState(
&self,
environment: &LAEnvironment,
old_state: &LAEnvironmentState,
)
Available on crate feature LAEnvironmentState only.
unsafe fn environment_stateDidChangeFromOldState( &self, environment: &LAEnvironment, old_state: &LAEnvironmentState, )
LAEnvironmentState only.Called when there has been a change in the environment.
Invoked on a queue private to LocalAuthentication framework. At the moment of invocation of this method,
LAEnvironment.statealready contains the new updated state.
Parameter oldState: The old environment state (before update)
Trait Implementations§
Source§impl ProtocolType for dyn LAEnvironmentObserver
impl ProtocolType for dyn LAEnvironmentObserver
impl<T> ImplementedBy<T> for dyn LAEnvironmentObserver
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".