#[non_exhaustive]pub enum ActivityRefusal {
KindForbidden,
ActorUnknown,
RateLimited,
ReadForbidden,
TooLarge,
Malformed,
Unavailable,
CursorIncarnationMismatch,
CursorTooOld,
SubscriberLagged,
Other(String),
}Expand description
A daemon activity refusal. Unknown codes remain readable for forward compatibility.
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.
KindForbidden
ActorUnknown
RateLimited
ReadForbidden
TooLarge
Malformed
CursorIncarnationMismatch
CursorTooOld
SubscriberLagged
Other(String)
Implementations§
Trait Implementations§
Source§impl Clone for ActivityRefusal
impl Clone for ActivityRefusal
Source§impl Debug for ActivityRefusal
impl Debug for ActivityRefusal
impl Eq for ActivityRefusal
Source§impl PartialEq for ActivityRefusal
impl PartialEq for ActivityRefusal
impl StructuralPartialEq for ActivityRefusal
Auto Trait Implementations§
impl Forget for ActivityRefusal
impl Freeze for ActivityRefusal
impl Move for ActivityRefusal
impl RefUnwindSafe for ActivityRefusal
impl Send for ActivityRefusal
impl Sync for ActivityRefusal
impl Unpin for ActivityRefusal
impl UnsafeUnpin for ActivityRefusal
impl UnwindSafe for ActivityRefusal
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