pub enum FedError {
Malformed(String),
BadSignature,
Network(String),
Db(String),
}Expand description
Federation-layer failure. Mapped to M_UNAUTHORIZED at the HTTP edge.
Variants§
Malformed(String)
Malformed header, key response, or signature material.
BadSignature
Signature did not verify.
Network(String)
Remote could not be resolved or reached.
Db(String)
Storage failure.
Trait Implementations§
impl StructuralPartialEq for FedError
Auto Trait Implementations§
impl Freeze for FedError
impl RefUnwindSafe for FedError
impl Send for FedError
impl Sync for FedError
impl Unpin for FedError
impl UnsafeUnpin for FedError
impl UnwindSafe for FedError
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