pub struct BinaryAdapter { /* private fields */ }Expand description
The binary distribution adapter, operating as manual (GitHub Releases).
Implementations§
Trait Implementations§
Source§impl ReleaseAdapter for BinaryAdapter
impl ReleaseAdapter for BinaryAdapter
Source§fn adapter(&self) -> Adapter
fn adapter(&self) -> Adapter
The adapter identity this implementation operates as (a single struct may
back several related identities, e.g.
cargo-publish and cargo-dist).Source§fn dry_run(
&self,
_ctx: &EffectCtx<'_>,
t: &AdapterTarget,
) -> Result<DryRunReport, AdapterError>
fn dry_run( &self, _ctx: &EffectCtx<'_>, t: &AdapterTarget, ) -> Result<DryRunReport, AdapterError>
Re-runnable, side-effect-free preview: the exact commands a real cut
would run for
target. Read moreSource§fn build(
&self,
_ctx: &EffectCtx<'_>,
_t: &AdapterTarget,
) -> Result<BuildArtifacts, AdapterError>
fn build( &self, _ctx: &EffectCtx<'_>, _t: &AdapterTarget, ) -> Result<BuildArtifacts, AdapterError>
Re-runnable build of the target’s publishable artifacts. Read more
Source§fn publish(
&self,
ctx: &EffectCtx<'_>,
t: &AdapterTarget,
) -> Result<PublishReceipt, AdapterError>
fn publish( &self, ctx: &EffectCtx<'_>, t: &AdapterTarget, ) -> Result<PublishReceipt, AdapterError>
Per-target irreversible publish; returns the durable
PublishReceipt. Read moreSource§fn verify(
&self,
_ctx: &EffectCtx<'_>,
_receipt: &PublishReceipt,
) -> Result<VerifyOutcome, AdapterError>
fn verify( &self, _ctx: &EffectCtx<'_>, _receipt: &PublishReceipt, ) -> Result<VerifyOutcome, AdapterError>
Read-only remote reconcile of a receipt against registry state. Read more
Auto Trait Implementations§
impl Freeze for BinaryAdapter
impl RefUnwindSafe for BinaryAdapter
impl Send for BinaryAdapter
impl Sync for BinaryAdapter
impl Unpin for BinaryAdapter
impl UnsafeUnpin for BinaryAdapter
impl UnwindSafe for BinaryAdapter
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