pub struct ExecutionContextBuilder { /* private fields */ }Expand description
Builder for ExecutionContext.
Implementations§
Source§impl ExecutionContextBuilder
impl ExecutionContextBuilder
pub fn repo(self, repo: Repository) -> Self
pub fn config(self, config: UserConfig) -> Self
pub fn verbosity(self, verbosity: Verbosity) -> Self
pub fn progress(self, progress: Arc<dyn ProgressSink>) -> Self
pub fn warnings(self, warnings: Arc<dyn WarningSink>) -> Self
pub fn op_id(self, op_id: impl Into<String>) -> Self
pub fn build(self) -> ExecutionContext
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ExecutionContextBuilder
impl !RefUnwindSafe for ExecutionContextBuilder
impl !UnwindSafe for ExecutionContextBuilder
impl Send for ExecutionContextBuilder
impl Sync for ExecutionContextBuilder
impl Unpin for ExecutionContextBuilder
impl UnsafeUnpin for ExecutionContextBuilder
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