pub enum Invalid {
Empty,
NotAscii {
app_name: String,
suggested: Option<String>,
},
StartsWithDigit {
app_name: String,
suggested: Option<String>,
},
ReservedKeyword {
app_name: String,
},
ReservedWindows {
app_name: String,
},
ReservedArtifacts {
app_name: String,
},
NotAlphanumericHyphenOrUnderscore {
app_name: String,
naughty_chars: Vec<char>,
suggested: Option<String>,
},
}
Variants§
Empty
NotAscii
StartsWithDigit
ReservedKeyword
ReservedWindows
ReservedArtifacts
NotAlphanumericHyphenOrUnderscore
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Invalid
impl RefUnwindSafe for Invalid
impl Send for Invalid
impl Sync for Invalid
impl Unpin for Invalid
impl UnwindSafe for Invalid
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