pub struct PrepareOptions<'a> {
pub trust: TrustAnchors<'a>,
pub archive: Option<&'a Path>,
pub destination: &'a Path,
pub environment: EnvironmentReportOptions,
}Expand description
Where the caller wants a box prepared, and how much to say about the environment.
Fields§
§trust: TrustAnchors<'a>The keys the caller accepts, from a trust file or already in hand.
archive: Option<&'a Path>The archive, when it is not beside its release document under its own hash.
destination: &'a PathWhere the box must end up. Must not already exist.
environment: EnvironmentReportOptionsEnvironment reporting.
Auto Trait Implementations§
impl<'a> Freeze for PrepareOptions<'a>
impl<'a> RefUnwindSafe for PrepareOptions<'a>
impl<'a> Send for PrepareOptions<'a>
impl<'a> Sync for PrepareOptions<'a>
impl<'a> Unpin for PrepareOptions<'a>
impl<'a> UnsafeUnpin for PrepareOptions<'a>
impl<'a> UnwindSafe for PrepareOptions<'a>
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