pub enum BannerMode {
Off,
Default,
Custom(Box<BannerBuilder>),
}Expand description
What install does when the configuration’s banner is reached.
Variants§
Off
No banner at all.
Default
Built-in 5-line banner with CARGO_PKG_NAME, version, authors and
repository. The standard choice.
Custom(Box<BannerBuilder>)
Lines produced by the caller. Each line goes out at Info level
through the same pipeline as the rest of the logger.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for BannerMode
impl !UnwindSafe for BannerMode
impl Freeze for BannerMode
impl Send for BannerMode
impl Sync for BannerMode
impl Unpin for BannerMode
impl UnsafeUnpin for BannerMode
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