pub enum NamingError {
InvalidProjectName {
reason: String,
},
InvalidApplicationIdentifier {
identifier: String,
reason: String,
},
}Expand description
Project or application identifier validation failure.
Variants§
InvalidProjectName
The requested name cannot safely identify a child directory.
InvalidApplicationIdentifier
The application identifier cannot be used on every target platform.
Trait Implementations§
Source§impl Debug for NamingError
impl Debug for NamingError
Source§impl Display for NamingError
impl Display for NamingError
impl Eq for NamingError
Source§impl Error for NamingError
impl Error for NamingError
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()
Source§impl PartialEq for NamingError
impl PartialEq for NamingError
impl StructuralPartialEq for NamingError
Auto Trait Implementations§
impl Freeze for NamingError
impl RefUnwindSafe for NamingError
impl Send for NamingError
impl Sync for NamingError
impl Unpin for NamingError
impl UnsafeUnpin for NamingError
impl UnwindSafe for NamingError
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