Trait winit::platform_impl::platform::x11::CookieResultExt
source · trait CookieResultExt {
// Required method
fn expect_then_ignore_error(self, msg: &str);
}
Expand description
Extension trait for Result<VoidCookie, E>
.
Required Methods§
sourcefn expect_then_ignore_error(self, msg: &str)
fn expect_then_ignore_error(self, msg: &str)
Unwrap the send error and ignore the result.