pub enum AudienceParseError {
Unknown,
MissingTeamName,
MissingRestrictedLabel,
}Expand description
Error from AudienceTier::from_str. The string form is what the
CLI’s --audience flag accepts; bad input here is a usage error.
Variants§
Trait Implementations§
Source§impl Debug for AudienceParseError
impl Debug for AudienceParseError
Source§impl Display for AudienceParseError
impl Display for AudienceParseError
Source§impl Error for AudienceParseError
impl Error for AudienceParseError
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()
Auto Trait Implementations§
impl Freeze for AudienceParseError
impl RefUnwindSafe for AudienceParseError
impl Send for AudienceParseError
impl Sync for AudienceParseError
impl Unpin for AudienceParseError
impl UnsafeUnpin for AudienceParseError
impl UnwindSafe for AudienceParseError
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