Enum zipsign_api::sign::SignTarError
source · pub enum SignTarError {
Copy(Error),
InputRead(Error),
InputSeek(Error),
OutputSeek(Error),
OutputWrite(Error),
Sign(GatherSignatureDataError),
TooManyKeys,
}Expand description
An error returned by copy_and_sign_tar()
Variants§
Copy(Error)
Could not copy input to output
InputRead(Error)
Could not read input
InputSeek(Error)
Could not seek in input
OutputSeek(Error)
Could not seek in output
OutputWrite(Error)
Could not write output
Sign(GatherSignatureDataError)
Could not sign pre-hashed message
TooManyKeys
Too many keys
Trait Implementations§
source§impl Debug for SignTarError
impl Debug for SignTarError
source§impl Display for SignTarError
impl Display for SignTarError
source§impl Error for SignTarError
impl Error for SignTarError
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<SignTarError> for ZipsignError
impl From<SignTarError> for ZipsignError
source§fn from(source: SignTarError) -> Self
fn from(source: SignTarError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for SignTarError
impl Send for SignTarError
impl Sync for SignTarError
impl Unpin for SignTarError
impl !UnwindSafe for SignTarError
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