pub enum DistError {
Show 77 variants
Io(Error),
Asset(AxoassetError),
Cmd(AxoprocessError),
Gazenot(GazenotError),
Project(ProjectError),
FromUtf8Error(FromUtf8Error),
Goblin(Error),
FromPathBufError(FromPathBufError),
DialoguerError(Error),
AxotagError(TagError),
ParseIntError(ParseIntError),
TripleError(ParseError),
Jinja {
source: String,
span: Option<SourceSpan>,
backtrace: JinjaErrorWithBacktrace,
},
Wix {
msi: String,
details: Error,
},
WixInit {
package: String,
details: Error,
},
CargoTomlParse {
manifest_path: Utf8PathBuf,
cause: Error,
},
NoUpdateVersion {
project_version: Version,
running_version: Version,
},
CantEnableGithubUrlInconsistent {
inner: AxoprojectError,
},
CantEnableGithubNoUrl {
manifest_list: String,
},
CantEnableGithubUrlNotGithub {
inner: AxoprojectError,
},
ScopeMustBeLowercase {
scope: String,
},
InstallPathInvalid {
path: String,
},
InstallPathEnvSlash {
path: String,
},
InstallPathHomeSubdir {
path: String,
},
PreciseImpossible {
packages: Vec<Utf8PathBuf>,
},
MismatchedTaps {
packages: Vec<Utf8PathBuf>,
},
MismatchedPublishers {
packages: Vec<Utf8PathBuf>,
},
MismatchedPrereleases,
NothingToRelease {
help: String,
},
TooManyUnrelatedApps {
help: String,
},
CheckFileMismatch {
file: SourceFile,
diff: String,
},
ContradictoryGenerateModes {
generate_mode: GenerateMode,
},
MultiPackage {
artifact_name: ArtifactId,
spec1: String,
spec2: String,
},
NoPackage {
artifact_name: ArtifactId,
},
MissingWixGuids {
manifest_path: Utf8PathBuf,
keys: &'static [&'static str],
},
UnrecognizedJobStyle {
style: String,
},
UnrecognizedHostingStyle {
style: String,
},
NoGitHubHosting {},
UnrecognizedCiStyle {
style: String,
},
UnrecognizedLibraryStyle {
style: String,
},
LinkageCheckInvalidOS {
host: String,
target: TripleName,
},
LinkageCheckUnsupportedBinary,
EnvParseError {
line: String,
},
GitArchiveError {},
GitSubmoduleCommitError {
path: String,
},
ToolMissing {
tool: String,
},
EnvToolsMissing {
tools: Vec<String>,
},
NoAxoupdaterForTarget {
target: String,
},
AxoupdaterReleaseCheckFailed {},
UnrecognizedCompression {
extension: String,
},
MissingBinaries {
pkg_name: String,
bin_name: String,
},
UpdateFailed {},
UpdateNotInWorkspace {
cause: ProjectError,
},
IncompatibleInstallPathConfiguration,
CliMissingTargets {
host_target: TripleName,
},
NeedsInit,
MismatchedDistVersion {
config_version: String,
running_version: String,
},
FailedCargoVersion,
GithubRepoPairParse {
pair: String,
},
GithubUnknownPermission {
levels: Vec<String>,
},
UnrecognizedTarget {
target: TripleName,
},
EmptyInstaller {},
GithubBuildSetupNotFound {
details: AxoassetError,
},
GithubBuildSetupParse {
details: AxoassetError,
},
GithubBuildSetupNotValid {
file_path: Utf8PathBuf,
message: String,
},
UnusedMetadata {
manifest_path: Utf8PathBuf,
dist_manifest_path: Utf8PathBuf,
},
SusBuildCommand {
manifest: Utf8PathBuf,
command: String,
},
NoDistScript {
manifest: Utf8PathBuf,
},
UnsupportedCrossCompile {
host: Triple,
target: Triple,
details: String,
},
CannotDoCargoAuditableAndCrossCompile {
host: Triple,
target: Triple,
},
CargoOnlyBuildOptions {
options: Vec<String>,
},
NoBuildCommand {
manifest: Utf8PathBuf,
},
UnexpectedBuildCommand {
manifest: Utf8PathBuf,
},
CertificateDecodeError {},
MacPkgConfigMissing {},
MacPkgBundleIdentifierMissing {},
AxoupdaterTooOld {
package_name: String,
source_name: String,
minimum: Version,
your_version: Version,
},
}Expand description
Errors dist can have
Variants§
Io(Error)
random i/o error
Asset(AxoassetError)
random axoasset error
Cmd(AxoprocessError)
random axoprocess error
Gazenot(GazenotError)
random gazenot error
Project(ProjectError)
random gazenot error
FromUtf8Error(FromUtf8Error)
random string error
Goblin(Error)
random i/o error
FromPathBufError(FromPathBufError)
random camino conversion error
DialoguerError(Error)
random dialoguer error
AxotagError(TagError)
random axotag error
ParseIntError(ParseIntError)
random parseint error
TripleError(ParseError)
random triple parse error
Jinja
A problem with a jinja template, which is always a dist bug
Fields
span: Option<SourceSpan>The range the error was found on
backtrace: JinjaErrorWithBacktraceDetails of the error
Wix
Error from (cargo-)wix
WixInit
Error from (cargo-)wix init
CargoTomlParse
Error parsing metadata in Cargo.toml (json because it’s from cargo-metadata)
NoUpdateVersion
User declined to update dist, refuse to make progress
Fields
CantEnableGithubUrlInconsistent
User tried to enable Github CI support but had inconsistent urls for the repo
Fields
inner: AxoprojectErrorinner error that caught this
CantEnableGithubNoUrl
User tried to enable Github CI support but no url for the repo
CantEnableGithubUrlNotGithub
We got a repository URL but couldn’t interpret it as a GitHub repo
Fields
inner: AxoprojectErrorinner error that caught this
ScopeMustBeLowercase
User supplied an illegal npm scope
InstallPathInvalid
Completely unknown format to install-path
NOTE: we can’t use diagnostic(help) here because this will get crammed into
a serde_json error, reducing it to a String. So we inline the help!
InstallPathEnvSlash
Being pedantic about the env-var mode of install-path to be consistent
NOTE: we can’t use diagnostic(help) here because this will get crammed into
a serde_json error, reducing it to a String. So we inline the help!
InstallPathHomeSubdir
Being pedantic about the home mode of install-path to be consistent
NOTE: we can’t use diagnostic(help) here because this will get crammed into
a serde_json error, reducing it to a String. So we inline the help!
PreciseImpossible
explicitly requested workspace builds, but had packages with custom feature settings
Fields
packages: Vec<Utf8PathBuf>paths of problem manifests
MismatchedTaps
packages disagreed on homebrew taps
Fields
packages: Vec<Utf8PathBuf>paths of problem manifests
MismatchedPublishers
packages disagreed on publishers
Fields
packages: Vec<Utf8PathBuf>paths of problem manifests
MismatchedPrereleases
publishers disagreed on prereleases
NothingToRelease
parse_tag concluded there was nothing to release
parse_tag concluded there are too many unrelated things for a single tag
CheckFileMismatch
Not an error; indicates that a file’s contents differ via –check
ContradictoryGenerateModes
dist generate was passed an explicit GenerateMode but the config in their Cargo.toml
has that mode set to allow-dirty, a contradiction!
Fields
generate_mode: GenerateModeThe problematic mode
MultiPackage
msi/pkg with too many packages
Fields
artifact_name: ArtifactIdName of the artifact
NoPackage
msi/pkg with too few packages
Fields
artifact_name: ArtifactIdName of the msi
MissingWixGuids
These GUIDs for msi’s are required and enforced by dist generate --check
Fields
manifest_path: Utf8PathBufThe Cargo.toml missing them
UnrecognizedJobStyle
unrecognized job style
UnrecognizedHostingStyle
unrecognized hosting style
NoGitHubHosting
unrecognized hosting style
UnrecognizedCiStyle
unrecognized ci style
UnrecognizedLibraryStyle
unrecognized library style
LinkageCheckInvalidOS
Linkage report can’t be run for this combination of OS and target
LinkageCheckUnsupportedBinary
Linkage report can’t be run for this target
EnvParseError
Error parsing a string containing an environment variable in VAR=value syntax
GitArchiveError
An error running git archive
GitSubmoduleCommitError
An error running git -C path rev-parse HEAD
ToolMissing
A required tool is missing
EnvToolsMissing
One or more required tools are missing.
NoAxoupdaterForTarget
Unknown target requested
AxoupdaterReleaseCheckFailed
reqwest returned non-2xx/404 when checking axoupdater releases
UnrecognizedCompression
Failed to determine how to uncompress something
MissingBinaries
Binaries were missing
UpdateFailed
Error during dist selfupdate
UpdateNotInWorkspace
Trying to run dist selfupdate in a random dir
Fields
cause: ProjectErrorThe report about the missing workspace
IncompatibleInstallPathConfiguration
Trying to include CargoHome with other install paths
CliMissingTargets
Passed –artifacts but no –target
Fields
host_target: TripleNameCurrent host target
NeedsInit
Workspace isn’t init
MismatchedDistVersion
Running different version from config
FailedCargoVersion
Failed to make sense of ‘cargo -vV’
GithubRepoPairParse
Failed to parse Github repo pair
GithubUnknownPermission
Unknown permission specified in GitHub Actions config
UnrecognizedTarget
An unknown target was found
Fields
target: TripleNameThe target in question
EmptyInstaller
Installers requested despite having nothing to install
GithubBuildSetupNotFound
Configuration value for github-build-setup defined but not found
Fields
details: AxoassetErrorInner i/o error with file path
GithubBuildSetupParse
Configuration value for github-build-setup defined but not found
Fields
details: AxoassetErrorInner parse error with path and spans
GithubBuildSetupNotValid
github-build-setup file contents are invalid
Fields
file_path: Utf8PathBufThe value from the configuration file
UnusedMetadata
Something has metadata.dist but shouldn’t
Fields
manifest_path: Utf8PathBufThe manifest that had the metadata.dist
dist_manifest_path: Utf8PathBufThe dist.toml/dist-workspace.toml that means it’s ignored
SusBuildCommand
Build command looks like they put args in same string as command
NoDistScript
missing “dist” script in a package.json
Fields
manifest: Utf8PathBufpath to package.json
UnsupportedCrossCompile
Unsupported cross-compilation host/target combination
Fields
CannotDoCargoAuditableAndCrossCompile
Cannot use cross-compilation with cargo-auditable
CargoOnlyBuildOptions
Generic build with Cargo-only build options
NoBuildCommand
missing “build-command” for a package that needs one
Fields
manifest: Utf8PathBufpath to manifest
UnexpectedBuildCommand
cargo package with build-command
Fields
manifest: Utf8PathBufpath to manifest
CertificateDecodeError
Failure to decode base64-encoded certificate
MacPkgConfigMissing
Missing configuration for a .pkg
MacPkgBundleIdentifierMissing
User left identifier empty in init
AxoupdaterTooOld
Project depends on a too-old axoupdater
Trait Implementations§
Source§impl Diagnostic for DistError
impl Diagnostic for DistError
Source§fn code(&self) -> Option<Box<dyn Display + '_>>
fn code(&self) -> Option<Box<dyn Display + '_>>
Diagnostic. Ideally also globally unique, and documented
in the toplevel crate’s documentation for easy searching. Rust path
format (foo::bar::baz) is recommended, but more classic codes like
E0123 or enums will work just fine.Source§fn help(&self) -> Option<Box<dyn Display + '_>>
fn help(&self) -> Option<Box<dyn Display + '_>>
Diagnostic. Do you have any
advice for the poor soul who’s just run into this issue?Source§fn severity(&self) -> Option<Severity>
fn severity(&self) -> Option<Severity>
ReportHandlers to change the display format
of this diagnostic. Read moreSource§fn labels(&self) -> Option<Box<dyn Iterator<Item = LabeledSpan> + '_>>
fn labels(&self) -> Option<Box<dyn Iterator<Item = LabeledSpan> + '_>>
Diagnostic’s Diagnostic::source_codeSource§fn source_code(&self) -> Option<&dyn SourceCode>
fn source_code(&self) -> Option<&dyn SourceCode>
Diagnostic’s Diagnostic::labels to.Diagnostics.Source§fn url(&self) -> Option<Box<dyn Display + '_>>
fn url(&self) -> Option<Box<dyn Display + '_>>
Diagnostic.Source§fn diagnostic_source(&self) -> Option<&dyn Diagnostic>
fn diagnostic_source(&self) -> Option<&dyn Diagnostic>
Source§impl Error for DistError
impl Error for DistError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Source§impl From<AxoassetError> for DistError
impl From<AxoassetError> for DistError
Source§fn from(source: AxoassetError) -> Self
fn from(source: AxoassetError) -> Self
Source§impl From<AxoprocessError> for DistError
impl From<AxoprocessError> for DistError
Source§fn from(source: AxoprocessError) -> Self
fn from(source: AxoprocessError) -> Self
Source§impl From<FromPathBufError> for DistError
impl From<FromPathBufError> for DistError
Source§fn from(source: FromPathBufError) -> Self
fn from(source: FromPathBufError) -> Self
Source§impl From<FromUtf8Error> for DistError
impl From<FromUtf8Error> for DistError
Source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Source§impl From<GazenotError> for DistError
impl From<GazenotError> for DistError
Source§fn from(source: GazenotError) -> Self
fn from(source: GazenotError) -> Self
Source§impl From<ParseError> for DistError
impl From<ParseError> for DistError
Source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Source§impl From<ParseIntError> for DistError
impl From<ParseIntError> for DistError
Source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Source§impl From<ProjectError> for DistError
impl From<ProjectError> for DistError
Source§fn from(source: ProjectError) -> Self
fn from(source: ProjectError) -> Self
Auto Trait Implementations§
impl Freeze for DistError
impl !RefUnwindSafe for DistError
impl Send for DistError
impl Sync for DistError
impl Unpin for DistError
impl !UnwindSafe for DistError
Blanket Implementations§
Source§impl<T> ApplyValExt for T
impl<T> ApplyValExt for T
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
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>
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>
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 moreSource§impl<D> OwoColorize for D
impl<D> OwoColorize for D
Source§fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
Source§fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
Source§fn black(&self) -> FgColorDisplay<'_, Black, Self>
fn black(&self) -> FgColorDisplay<'_, Black, Self>
Source§fn on_black(&self) -> BgColorDisplay<'_, Black, Self>
fn on_black(&self) -> BgColorDisplay<'_, Black, Self>
Source§fn red(&self) -> FgColorDisplay<'_, Red, Self>
fn red(&self) -> FgColorDisplay<'_, Red, Self>
Source§fn on_red(&self) -> BgColorDisplay<'_, Red, Self>
fn on_red(&self) -> BgColorDisplay<'_, Red, Self>
Source§fn green(&self) -> FgColorDisplay<'_, Green, Self>
fn green(&self) -> FgColorDisplay<'_, Green, Self>
Source§fn on_green(&self) -> BgColorDisplay<'_, Green, Self>
fn on_green(&self) -> BgColorDisplay<'_, Green, Self>
Source§fn yellow(&self) -> FgColorDisplay<'_, Yellow, Self>
fn yellow(&self) -> FgColorDisplay<'_, Yellow, Self>
Source§fn on_yellow(&self) -> BgColorDisplay<'_, Yellow, Self>
fn on_yellow(&self) -> BgColorDisplay<'_, Yellow, Self>
Source§fn blue(&self) -> FgColorDisplay<'_, Blue, Self>
fn blue(&self) -> FgColorDisplay<'_, Blue, Self>
Source§fn on_blue(&self) -> BgColorDisplay<'_, Blue, Self>
fn on_blue(&self) -> BgColorDisplay<'_, Blue, Self>
Source§fn magenta(&self) -> FgColorDisplay<'_, Magenta, Self>
fn magenta(&self) -> FgColorDisplay<'_, Magenta, Self>
Source§fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
Source§fn purple(&self) -> FgColorDisplay<'_, Magenta, Self>
fn purple(&self) -> FgColorDisplay<'_, Magenta, Self>
Source§fn on_purple(&self) -> BgColorDisplay<'_, Magenta, Self>
fn on_purple(&self) -> BgColorDisplay<'_, Magenta, Self>
Source§fn cyan(&self) -> FgColorDisplay<'_, Cyan, Self>
fn cyan(&self) -> FgColorDisplay<'_, Cyan, Self>
Source§fn on_cyan(&self) -> BgColorDisplay<'_, Cyan, Self>
fn on_cyan(&self) -> BgColorDisplay<'_, Cyan, Self>
Source§fn white(&self) -> FgColorDisplay<'_, White, Self>
fn white(&self) -> FgColorDisplay<'_, White, Self>
Source§fn on_white(&self) -> BgColorDisplay<'_, White, Self>
fn on_white(&self) -> BgColorDisplay<'_, White, Self>
Source§fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
Source§fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
Source§fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
Source§fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
Source§fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
Source§fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
Source§fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
Source§fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
Source§fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
Source§fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
Source§fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
Source§fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
Source§fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
Source§fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
Source§fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
Source§fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
Source§fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
Source§fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
Source§fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
Source§fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
Source§fn bold(&self) -> BoldDisplay<'_, Self>
fn bold(&self) -> BoldDisplay<'_, Self>
Source§fn dimmed(&self) -> DimDisplay<'_, Self>
fn dimmed(&self) -> DimDisplay<'_, Self>
Source§fn italic(&self) -> ItalicDisplay<'_, Self>
fn italic(&self) -> ItalicDisplay<'_, Self>
Source§fn underline(&self) -> UnderlineDisplay<'_, Self>
fn underline(&self) -> UnderlineDisplay<'_, Self>
Source§fn blink(&self) -> BlinkDisplay<'_, Self>
fn blink(&self) -> BlinkDisplay<'_, Self>
Source§fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
Source§fn reversed(&self) -> ReversedDisplay<'_, Self>
fn reversed(&self) -> ReversedDisplay<'_, Self>
Source§fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
Source§fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
OwoColorize::fg or
a color-specific method, such as OwoColorize::green, Read moreSource§fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
OwoColorize::bg or
a color-specific method, such as OwoColorize::on_yellow, Read moreSource§fn fg_rgb<const R: u8, const G: u8, const B: u8>(
&self,
) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>
fn fg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>
Source§fn bg_rgb<const R: u8, const G: u8, const B: u8>(
&self,
) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>
fn bg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>
Source§fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>
fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>
Source§fn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>
fn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.