pub enum DepError {
Show 39 variants
NomeEmpty,
NomeInvalid {
nome: String,
reason: String,
},
VersaoEmpty {
nome: String,
},
VersaoInvalid {
nome: String,
versao: String,
reason: String,
},
FonteRepoEmpty {
nome: String,
},
FonteRepoShape {
nome: String,
repo: String,
reason: String,
},
FontePinMissing {
nome: String,
},
FontePinAmbiguous {
nome: String,
pins: String,
},
FontePinEmpty {
nome: String,
pin: String,
},
FontePinShape {
nome: String,
pin: String,
value: String,
reason: String,
},
FonteCaminhoEmpty {
nome: String,
},
FonteCaminhoAbsolute {
nome: String,
caminho: String,
},
FonteCaminhoTildeExpansion {
nome: String,
caminho: String,
},
FonteCaminhoVarExpansion {
nome: String,
caminho: String,
},
FonteCaminhoLeadingWhitespace {
nome: String,
caminho: String,
},
FonteCaminhoLeadingHyphen {
nome: String,
caminho: String,
},
FonteCaminhoControlChar {
nome: String,
caminho: String,
byte: u8,
},
FonteCaminhoBackslash {
nome: String,
caminho: String,
},
FonteCaminhoShellRedirection {
nome: String,
caminho: String,
byte: u8,
},
FonteCaminhoShellPipe {
nome: String,
caminho: String,
},
FonteCaminhoShellSemicolon {
nome: String,
caminho: String,
},
FonteCaminhoShellBackground {
nome: String,
caminho: String,
},
FonteCaminhoShellCommandSubstitution {
nome: String,
caminho: String,
},
FonteCaminhoShellGlob {
nome: String,
caminho: String,
byte: u8,
},
FonteCaminhoShellSubshellGrouping {
nome: String,
caminho: String,
byte: u8,
},
FonteCaminhoShellBraceExpansion {
nome: String,
caminho: String,
byte: u8,
},
FonteCaminhoShellBracketExpansion {
nome: String,
caminho: String,
byte: u8,
},
FonteCaminhoShellQuoteGrouping {
nome: String,
caminho: String,
byte: u8,
},
FonteCaminhoShellComment {
nome: String,
caminho: String,
byte: u8,
},
FonteCaminhoUrlPercentEncoding {
nome: String,
caminho: String,
byte: u8,
},
FonteCaminhoShellVariableExpansion {
nome: String,
caminho: String,
byte: u8,
},
FonteCaminhoShellHistoryExpansion {
nome: String,
caminho: String,
byte: u8,
},
FonteCaminhoShellHistorySubstitution {
nome: String,
caminho: String,
byte: u8,
},
FonteCaminhoTrailingSlash {
nome: String,
caminho: String,
},
DuplicateNome {
nome: String,
list: &'static str,
},
CaracteristicaEmpty {
nome: String,
},
CaracteristicaInvalid {
nome: String,
caracteristica: String,
reason: String,
},
CaracteristicaDuplicate {
nome: String,
caracteristica: String,
},
DepIsSelf {
nome: String,
list: &'static str,
},
}Expand description
Errors raised by Dep::validate.
Mirrors the per-axis error families the other :versao-carrying
typed surfaces expose
(crate::AplicacaoError::MembroVersaoEmpty /
crate::AplicacaoError::MembroVersaoInvalid,
crate::SupervisorError::EmptyChildVersion /
crate::SupervisorError::ChildVersaoInvalid) so a future top-
level CaixaError (M4) sums these without reshaping the diagnostic.
Variants§
NomeEmpty
NomeInvalid
VersaoEmpty
VersaoInvalid
FonteRepoEmpty
FonteRepoShape
FontePinMissing
FontePinAmbiguous
FontePinEmpty
FontePinShape
FonteCaminhoEmpty
FonteCaminhoAbsolute
FonteCaminhoTildeExpansion
FonteCaminhoVarExpansion
FonteCaminhoLeadingWhitespace
FonteCaminhoLeadingHyphen
FonteCaminhoControlChar
FonteCaminhoBackslash
FonteCaminhoShellRedirection
FonteCaminhoShellPipe
FonteCaminhoShellSemicolon
FonteCaminhoShellBackground
FonteCaminhoShellCommandSubstitution
FonteCaminhoShellGlob
FonteCaminhoShellSubshellGrouping
FonteCaminhoShellBraceExpansion
FonteCaminhoShellBracketExpansion
FonteCaminhoShellQuoteGrouping
FonteCaminhoShellComment
FonteCaminhoUrlPercentEncoding
FonteCaminhoShellVariableExpansion
FonteCaminhoShellHistoryExpansion
FonteCaminhoShellHistorySubstitution
FonteCaminhoTrailingSlash
DuplicateNome
CaracteristicaEmpty
CaracteristicaInvalid
CaracteristicaDuplicate
DepIsSelf
Trait Implementations§
impl Eq for DepError
Source§impl Error for DepError
impl Error for DepError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl StructuralPartialEq for DepError
Auto Trait Implementations§
impl Freeze for DepError
impl RefUnwindSafe for DepError
impl Send for DepError
impl Sync for DepError
impl Unpin for DepError
impl UnsafeUnpin for DepError
impl UnwindSafe for DepError
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
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
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.