#[repr(u8)]pub enum RefusalKind {
PermissionDenied = 1,
Malformed = 2,
}Expand description
Why the application’s decoder refused a request, as a Refused frame
says.
#[repr(u8)], its discriminant the byte on the wire. 0 is no kind,
so a zeroed byte is an error, not a refusal.
Variants§
PermissionDenied = 1
The key’s role may not perform the request.
Malformed = 2
The request is not well-formed for the application the node runs.
Implementations§
Source§impl RefusalKind
impl RefusalKind
Trait Implementations§
Source§impl Clone for RefusalKind
impl Clone for RefusalKind
impl Copy for RefusalKind
Source§impl Debug for RefusalKind
impl Debug for RefusalKind
impl Eq for RefusalKind
Source§impl Hash for RefusalKind
impl Hash for RefusalKind
Source§impl PartialEq for RefusalKind
impl PartialEq for RefusalKind
impl StructuralPartialEq for RefusalKind
Auto Trait Implementations§
impl Freeze for RefusalKind
impl RefUnwindSafe for RefusalKind
impl Send for RefusalKind
impl Sync for RefusalKind
impl Unpin for RefusalKind
impl UnsafeUnpin for RefusalKind
impl UnwindSafe for RefusalKind
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