#[non_exhaustive]pub enum ConditionError {
InvalidCondition,
InvalidEventId,
InvalidComment,
Ended,
Call(ControlError),
}Expand description
A condition method could not be prepared or its Call response could not be obtained.
An operation-level rejection from the server is returned in CallOutcome::status.
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.
InvalidCondition
A standard condition type was supplied where the method requires a condition instance.
InvalidEventId
EventIds are opaque and must contain one through 65,536 bytes.
InvalidComment
The encoded comment strings contain NUL or exceed the combined 16 KiB limit.
Ended
The event subscription has already failed. Recreate it before requesting refresh.
Call(ControlError)
The standard Call failed locally or has an indeterminate remote outcome.
Trait Implementations§
Source§impl Debug for ConditionError
impl Debug for ConditionError
Source§impl Display for ConditionError
impl Display for ConditionError
Source§impl Error for ConditionError
impl Error for ConditionError
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<ControlError> for ConditionError
impl From<ControlError> for ConditionError
Source§fn from(source: ControlError) -> Self
fn from(source: ControlError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for ConditionError
impl Freeze for ConditionError
impl Move for ConditionError
impl RefUnwindSafe for ConditionError
impl Send for ConditionError
impl Sync for ConditionError
impl Unpin for ConditionError
impl UnsafeUnpin for ConditionError
impl UnwindSafe for ConditionError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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