pub enum Why {
AuthRequired,
Blocked,
Duplicate,
Error,
Invalid,
Pow,
RateLimited,
Restricted,
}
Expand description
The reason why a relay issued an OK or CLOSED message
Variants§
AuthRequired
Authentication is required
Blocked
You have been blocked from this relay
Duplicate
Your request is a duplicate
Error
Other error
Invalid
Your request is invalid
Pow
Proof-of-work is required
RateLimited
Rejected due to rate limiting
Restricted
The action you requested is restricted to your identity
Trait Implementations§
impl Copy for Why
impl Eq for Why
impl StructuralPartialEq for Why
Auto Trait Implementations§
impl Freeze for Why
impl RefUnwindSafe for Why
impl Send for Why
impl Sync for Why
impl Unpin for Why
impl UnwindSafe for Why
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)