pub struct PrereleaseDirectOperation<P, S> { /* private fields */ }Implementations§
Source§impl<P, S> PrereleaseDirectOperation<P, S>where
P: ProjectProvider,
S: ReleaseStateIO,
impl<P, S> PrereleaseDirectOperation<P, S>where
P: ProjectProvider,
S: ReleaseStateIO,
pub fn new(project_provider: P, release_state_io: S) -> Self
Sourcepub fn execute(
&self,
start_path: &Path,
input: &PrereleaseDirectInput,
) -> Result<Vec<PrereleaseEvent>>
pub fn execute( &self, start_path: &Path, input: &PrereleaseDirectInput, ) -> Result<Vec<PrereleaseEvent>>
§Errors
Returns an error if project discovery, state loading, validation, or persistence fails.
Auto Trait Implementations§
impl<P, S> Freeze for PrereleaseDirectOperation<P, S>
impl<P, S> RefUnwindSafe for PrereleaseDirectOperation<P, S>where
P: RefUnwindSafe,
S: RefUnwindSafe,
impl<P, S> Send for PrereleaseDirectOperation<P, S>
impl<P, S> Sync for PrereleaseDirectOperation<P, S>
impl<P, S> Unpin for PrereleaseDirectOperation<P, S>
impl<P, S> UnsafeUnpin for PrereleaseDirectOperation<P, S>where
P: UnsafeUnpin,
S: UnsafeUnpin,
impl<P, S> UnwindSafe for PrereleaseDirectOperation<P, S>where
P: UnwindSafe,
S: UnwindSafe,
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