pub enum OrgKeyDirectoryError {
Io(Error),
Unauthorized(String),
}Expand description
Failures publishing to / fetching from an org-key directory.
Variants§
Io(Error)
Persistence I/O (fs-backed directory only).
The publisher is not authorized for this directory / key. This is a
LOAD-BEARING, distinct signal — NOT a transient failure to retry.
Because publisher authz here is confidentiality-critical (see the module
doc: unauthenticated publish enables key substitution + K_org leak),
the transport-backed directory must surface a backend authz refusal as
THIS variant, never collapse it into Io where a retry loop would treat
a security “no” as a network blip.
Trait Implementations§
Source§impl Debug for OrgKeyDirectoryError
impl Debug for OrgKeyDirectoryError
Source§impl Display for OrgKeyDirectoryError
impl Display for OrgKeyDirectoryError
Source§impl Error for OrgKeyDirectoryError
impl Error for OrgKeyDirectoryError
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<OrgKeyDirectoryError> for RotationError
impl From<OrgKeyDirectoryError> for RotationError
Source§fn from(e: OrgKeyDirectoryError) -> Self
fn from(e: OrgKeyDirectoryError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for OrgKeyDirectoryError
impl !UnwindSafe for OrgKeyDirectoryError
impl Freeze for OrgKeyDirectoryError
impl Send for OrgKeyDirectoryError
impl Sync for OrgKeyDirectoryError
impl Unpin for OrgKeyDirectoryError
impl UnsafeUnpin for OrgKeyDirectoryError
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