pub enum SdkExportError {
Io {
path: String,
source: Error,
},
Archive(String),
NoBuiltPrefix,
DestinationNotAbsolute(String),
DestinationTooLong {
dest: String,
dest_len: usize,
built_prefix: String,
budget: usize,
},
FieldTooSmall {
member: String,
offset: usize,
needed: usize,
capacity: usize,
},
UnsafeMember {
member: String,
why: String,
},
Collision {
path: String,
},
WriteThroughSymlink {
member: String,
link: String,
},
SymlinkEscapes {
member: String,
target: String,
},
SymlinksUnsupported {
member: String,
},
}Expand description
Why a tree payload could not be exported or relocated.
Variants§
Io
Archive(String)
NoBuiltPrefix
DestinationNotAbsolute(String)
DestinationTooLong
FieldTooSmall
UnsafeMember
Collision
WriteThroughSymlink
SymlinkEscapes
SymlinksUnsupported
Trait Implementations§
Source§impl Debug for SdkExportError
impl Debug for SdkExportError
Source§impl Display for SdkExportError
impl Display for SdkExportError
Source§impl Error for SdkExportError
impl Error for SdkExportError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for SdkExportError
impl !UnwindSafe for SdkExportError
impl Freeze for SdkExportError
impl Send for SdkExportError
impl Sync for SdkExportError
impl Unpin for SdkExportError
impl UnsafeUnpin for SdkExportError
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