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,
},
NotAlphanumericOrUnderscore {
app_name: String,
naughty_chars: Vec<char>,
suggested: Option<String>,
},
}
Variants§
Empty
NotAscii
StartsWithDigit
ReservedKeyword
ReservedWindows
ReservedArtifacts
NotAlphanumericOrUnderscore
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