Enum slint::EventLoopError
#[non_exhaustive]
pub enum EventLoopError {
EventLoopTerminated,
NoEventLoopProvider,
}
Expand description
Error returned from the invoke_from_event_loop()
and quit_event_loop()
function
Variants (Non-exhaustive)ยง
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
EventLoopTerminated
The event could not be sent because the event loop was terminated already
NoEventLoopProvider
The event could not be sent because the Slint platform abstraction was not yet initialized, or the platform does not support event loop.
Trait Implementationsยง
ยงimpl Clone for EventLoopError
impl Clone for EventLoopError
ยงfn clone(&self) -> EventLoopError
fn clone(&self) -> EventLoopError
Returns a copy of the value. Read more
1.0.0 ยท sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more