pub enum ExportForm {
Tar,
Directory,
}Expand description
How an export is laid out on disk.
Both forms carry the same manifest and the same cas/v1 and
action-results/v1 layout; they differ only in whether that tree is
wrapped in a tar. A transport that archives and compresses a directory
itself, such as actions/cache, would otherwise write every byte twice:
once into the tar and once again when the importer unpacks it.
Variants§
Tar
One tar file: portable, and what a standalone bundle should be.
Directory
A directory tree, for transports that archive directories themselves.
Trait Implementations§
Source§impl Clone for ExportForm
impl Clone for ExportForm
impl Copy for ExportForm
Source§impl Debug for ExportForm
impl Debug for ExportForm
Source§impl Default for ExportForm
impl Default for ExportForm
impl Eq for ExportForm
Source§impl FromStr for ExportForm
impl FromStr for ExportForm
Source§impl PartialEq for ExportForm
impl PartialEq for ExportForm
impl StructuralPartialEq for ExportForm
Auto Trait Implementations§
impl Freeze for ExportForm
impl RefUnwindSafe for ExportForm
impl Send for ExportForm
impl Sync for ExportForm
impl Unpin for ExportForm
impl UnsafeUnpin for ExportForm
impl UnwindSafe for ExportForm
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