#[non_exhaustive]pub enum Mensagem {
Show 18 variants
UsageSuggestion,
BrokenPipeSuggestion,
UnavailableSuggestion,
DataSuggestion,
BrowserSuggestion,
VisionRequired,
RobotsDual,
CategoryMemory,
CategoryExtensions,
ScreencastFlag,
WebmcpFlag,
ThirdPartyFlag,
CaptureNetwork,
CaptureConsole,
RunFailFast,
LighthouseMissing,
LocaleResolved,
LocaleSource,
}Expand description
Every human-facing UI string key for this binary.
Technical error.message fields and tracing targets stay English literals
outside this enum (agent contract). Variants are named in English.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
UsageSuggestion
Usage / argv errors — human suggestion.
BrokenPipeSuggestion
Broken pipe (exit 141) — human suggestion.
Chrome unavailable — human suggestion.
DataSuggestion
Data / robots / payload — human suggestion.
BrowserSuggestion
Browser session failure — human suggestion.
VisionRequired
Vision experimental flag required.
RobotsDual
Dual robots ignore flags required.
CategoryMemory
Memory category flag required.
CategoryExtensions
Extensions category flag required.
ScreencastFlag
Screencast experimental flag required.
WebmcpFlag
WebMCP category flag required.
ThirdPartyFlag
Third-party category flag required.
CaptureNetwork
Network capture flag required before net tools.
CaptureConsole
Console capture flag required before console tools.
RunFailFast
Run script failed fast.
LighthouseMissing
Lighthouse binary missing.
LocaleResolved
locale subcommand: resolved label.
LocaleSource
locale subcommand: source label.
Implementations§
Source§impl Mensagem
impl Mensagem
Sourcepub fn texto(self, idioma: Idioma) -> &'static str
pub fn texto(self, idioma: Idioma) -> &'static str
Resolve text for an explicit idioma (no process global). Preferred in tests.
Sourcepub fn from_suggestion_key(key: &str) -> Mensagem
pub fn from_suggestion_key(key: &str) -> Mensagem
Map a legacy suggestion catalog key to a message (or usage fallback).
Sourcepub fn from_error_kind(kind: &str) -> Option<Mensagem>
pub fn from_error_kind(kind: &str) -> Option<Mensagem>
Map error kind string to a human suggestion message.
Trait Implementations§
impl Copy for Mensagem
impl Eq for Mensagem
impl StructuralPartialEq for Mensagem
Auto Trait Implementations§
impl Freeze for Mensagem
impl RefUnwindSafe for Mensagem
impl Send for Mensagem
impl Sync for Mensagem
impl Unpin for Mensagem
impl UnsafeUnpin for Mensagem
impl UnwindSafe for Mensagem
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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 more