pub struct GoPublisher;Trait Implementations§
Source§impl Publisher for GoPublisher
impl Publisher for GoPublisher
Source§fn check(&self, _ctx: &PublishCtx<'_>) -> Result<PublishState, ReleaseError>
fn check(&self, _ctx: &PublishCtx<'_>) -> Result<PublishState, ReleaseError>
Query the registry for the current state.
Source§fn run(&self, _ctx: &PublishCtx<'_>) -> Result<(), ReleaseError>
fn run(&self, _ctx: &PublishCtx<'_>) -> Result<(), ReleaseError>
Perform the publish. Callers must have checked
check() first;
a Completed result should short-circuit before calling run.Auto Trait Implementations§
impl Freeze for GoPublisher
impl RefUnwindSafe for GoPublisher
impl Send for GoPublisher
impl Sync for GoPublisher
impl Unpin for GoPublisher
impl UnsafeUnpin for GoPublisher
impl UnwindSafe for GoPublisher
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