Enum zipsign_api::sign::ReadSigningKeysError
source · pub enum ReadSigningKeysError {
Construct(Error, usize),
Empty,
Read(Error, usize),
}Expand description
An error returned by read_signing_keys()
Variants§
Construct(Error, usize)
Input did not contain a valid key
Empty
No signing keys provided
Read(Error, usize)
Could not read keys
Trait Implementations§
source§impl Debug for ReadSigningKeysError
impl Debug for ReadSigningKeysError
source§impl Display for ReadSigningKeysError
impl Display for ReadSigningKeysError
source§impl Error for ReadSigningKeysError
impl Error for ReadSigningKeysError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<ReadSigningKeysError> for ZipsignError
impl From<ReadSigningKeysError> for ZipsignError
source§fn from(source: ReadSigningKeysError) -> Self
fn from(source: ReadSigningKeysError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ReadSigningKeysError
impl Send for ReadSigningKeysError
impl Sync for ReadSigningKeysError
impl Unpin for ReadSigningKeysError
impl !UnwindSafe for ReadSigningKeysError
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