pub enum WebBackendError {
Unsupported(&'static str),
InputQueueFull {
limit: WebInputLimit,
event: Event,
},
}Expand description
Web backend error type.
Variants§
Unsupported(&'static str)
Generic unsupported operation.
InputQueueFull
Input was rejected before admission. The caller retains ownership of the event and can retry after draining the queue.
Fields
§
limit: WebInputLimitWhich bound prevented admission.
Trait Implementations§
Source§impl Clone for WebBackendError
impl Clone for WebBackendError
Source§impl Debug for WebBackendError
impl Debug for WebBackendError
Source§impl Display for WebBackendError
impl Display for WebBackendError
impl Eq for WebBackendError
Source§impl Error for WebBackendError
impl Error for WebBackendError
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<WebBackendError> for ReplayError
impl From<WebBackendError> for ReplayError
Source§fn from(e: WebBackendError) -> Self
fn from(e: WebBackendError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WebBackendError
impl PartialEq for WebBackendError
impl StructuralPartialEq for WebBackendError
Auto Trait Implementations§
impl Freeze for WebBackendError
impl RefUnwindSafe for WebBackendError
impl Send for WebBackendError
impl Sync for WebBackendError
impl Unpin for WebBackendError
impl UnsafeUnpin for WebBackendError
impl UnwindSafe for WebBackendError
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