pub enum NativeEventError {
Lagged(u64),
Closed,
}Expand description
Failure while consuming a native broadcast or status stream.
Variants§
Lagged(u64)
The bounded broadcast receiver missed this many messages.
Closed
All senders for the event or status stream were dropped.
Trait Implementations§
Source§impl Clone for NativeEventError
impl Clone for NativeEventError
Source§fn clone(&self) -> NativeEventError
fn clone(&self) -> NativeEventError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NativeEventError
impl Debug for NativeEventError
Source§impl Display for NativeEventError
impl Display for NativeEventError
Source§impl Error for NativeEventError
impl Error for NativeEventError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<NativeEventError> for NativePresenceError
impl From<NativeEventError> for NativePresenceError
Source§fn from(source: NativeEventError) -> Self
fn from(source: NativeEventError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for NativeEventError
impl PartialEq for NativeEventError
Source§fn eq(&self, other: &NativeEventError) -> bool
fn eq(&self, other: &NativeEventError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for NativeEventError
impl Eq for NativeEventError
impl StructuralPartialEq for NativeEventError
Auto Trait Implementations§
impl Freeze for NativeEventError
impl RefUnwindSafe for NativeEventError
impl Send for NativeEventError
impl Sync for NativeEventError
impl Unpin for NativeEventError
impl UnsafeUnpin for NativeEventError
impl UnwindSafe for NativeEventError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more