Struct mjolnir::mjolnir_lib::bootstrap::scenario::ScenarioProgressBar
source · pub struct ScenarioProgressBar {
progress_bar: ProgressBar,
}
Fields§
§progress_bar: ProgressBar
Implementations§
source§impl ScenarioProgressBar
impl ScenarioProgressBar
pub fn new(progress_bar: ProgressBar, prefix: &str) -> Self
pub fn set_progress(&self, progress: &str)
pub fn set_error_lines(&self, iter: Vec<String>)
pub fn set_finished(&self)
Auto Trait Implementations§
impl RefUnwindSafe for ScenarioProgressBar
impl Send for ScenarioProgressBar
impl Sync for ScenarioProgressBar
impl Unpin for ScenarioProgressBar
impl UnwindSafe for ScenarioProgressBar
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request