pub enum DepositError {
Show 13 variants
SelfVerifyFailed,
BadChannel {
channel: String,
},
BadIssuedAt {
issued_at: String,
},
Spec(String),
WouldDestroySignedWork(WouldDestroy),
NoTools,
DuplicateTool {
name: String,
platform: String,
first: String,
second: String,
},
DuplicatePayload {
name: String,
version: String,
platform: String,
},
SdkPrefixOnNonTree {
name: String,
kind: String,
},
SdkPrefixMissing {
name: String,
version: String,
},
SdkPrefixNotAbsolute {
name: String,
prefix: String,
},
Sign(VerifyError),
Io {
path: String,
source: Error,
},
}Variants§
SelfVerifyFailed
BadChannel
BadIssuedAt
Spec(String)
WouldDestroySignedWork(WouldDestroy)
REQ-NODESTROY-001. deposit writes the WHOLE layout, index.json
included, so a second deposit into a directory that has had evidence
attached dropped all of it and reported success. Documentation warned
about this in three topics and guarded nothing.
NoTools
DuplicateTool
DuplicatePayload
SdkPrefixOnNonTree
SdkPrefixMissing
SdkPrefixNotAbsolute
Sign(VerifyError)
Io
Trait Implementations§
Source§impl Debug for DepositError
impl Debug for DepositError
Source§impl Display for DepositError
impl Display for DepositError
Source§impl Error for DepositError
impl Error for DepositError
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<VerifyError> for DepositError
impl From<VerifyError> for DepositError
Source§fn from(source: VerifyError) -> Self
fn from(source: VerifyError) -> Self
Converts to this type from the input type.
Source§impl From<WouldDestroy> for DepositError
impl From<WouldDestroy> for DepositError
Source§fn from(source: WouldDestroy) -> Self
fn from(source: WouldDestroy) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for DepositError
impl !UnwindSafe for DepositError
impl Freeze for DepositError
impl Send for DepositError
impl Sync for DepositError
impl Unpin for DepositError
impl UnsafeUnpin for DepositError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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