pub struct ReleaseOperation<P, RW, M, C, G, S> { /* private fields */ }Implementations§
Source§impl<P, RW, M, C, G, S> ReleaseOperation<P, RW, M, C, G, S>where
P: ProjectProvider,
RW: ChangesetReader + ChangesetWriter + Send + Sync + 'static,
M: FullManifestWriter + Send + Sync + 'static,
C: ChangelogWriter + Send + Sync + 'static,
G: FullGitProvider + Send + Sync + 'static,
S: ReleaseStateIO + Send + Sync + 'static,
impl<P, RW, M, C, G, S> ReleaseOperation<P, RW, M, C, G, S>where
P: ProjectProvider,
RW: ChangesetReader + ChangesetWriter + Send + Sync + 'static,
M: FullManifestWriter + Send + Sync + 'static,
C: ChangelogWriter + Send + Sync + 'static,
G: FullGitProvider + Send + Sync + 'static,
S: ReleaseStateIO + Send + Sync + 'static,
pub fn new( project_provider: P, changeset_io: RW, manifest_writer: M, changelog_writer: C, git_provider: G, release_state_io: S, ) -> Self
Sourcepub fn execute(
&self,
start_path: &Path,
input: &ReleaseInput,
) -> Result<ReleaseOutcome>
pub fn execute( &self, start_path: &Path, input: &ReleaseInput, ) -> Result<ReleaseOutcome>
§Errors
Propagates errors from project discovery, changeset parsing, version planning, changelog generation, and git operations.
Auto Trait Implementations§
impl<P, RW, M, C, G, S> Freeze for ReleaseOperation<P, RW, M, C, G, S>where
P: Freeze,
impl<P, RW, M, C, G, S> RefUnwindSafe for ReleaseOperation<P, RW, M, C, G, S>where
P: RefUnwindSafe,
RW: RefUnwindSafe,
M: RefUnwindSafe,
C: RefUnwindSafe,
G: RefUnwindSafe,
S: RefUnwindSafe,
impl<P, RW, M, C, G, S> Send for ReleaseOperation<P, RW, M, C, G, S>
impl<P, RW, M, C, G, S> Sync for ReleaseOperation<P, RW, M, C, G, S>
impl<P, RW, M, C, G, S> Unpin for ReleaseOperation<P, RW, M, C, G, S>where
P: Unpin,
impl<P, RW, M, C, G, S> UnsafeUnpin for ReleaseOperation<P, RW, M, C, G, S>where
P: UnsafeUnpin,
impl<P, RW, M, C, G, S> UnwindSafe for ReleaseOperation<P, RW, M, C, G, S>where
P: UnwindSafe,
RW: RefUnwindSafe,
M: RefUnwindSafe,
C: RefUnwindSafe,
G: RefUnwindSafe,
S: RefUnwindSafe,
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more