pub trait UiClient: PollClient {
// Provided methods
fn confirm_user_present(
&mut self,
timeout_milliseconds: u32,
) -> ClientResult<'_, RequestUserConsent, Self> { ... }
fn wink(&mut self, duration: Duration) -> ClientResult<'_, Wink, Self> { ... }
fn set_custom_status(
&mut self,
status: u8,
) -> ClientResult<'_, SetCustomStatus, Self> { ... }
}
Available on crate feature
ui-client
only.Expand description
User-interfacing functionality.
Provided Methods§
fn confirm_user_present( &mut self, timeout_milliseconds: u32, ) -> ClientResult<'_, RequestUserConsent, Self>
fn wink(&mut self, duration: Duration) -> ClientResult<'_, Wink, Self>
fn set_custom_status( &mut self, status: u8, ) -> ClientResult<'_, SetCustomStatus, Self>
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.