pub enum ActorParseError {
MissingKind(String),
UnknownKind(String),
EmptyName,
}Expand description
A principal spelled other than human:NAME, agent:NAME or service:NAME.
Variants§
MissingKind(String)
No KIND: prefix.
UnknownKind(String)
The kind is not one of the three principal categories.
EmptyName
The name after the kind is blank.
Trait Implementations§
Source§impl Clone for ActorParseError
impl Clone for ActorParseError
Source§impl Debug for ActorParseError
impl Debug for ActorParseError
Source§impl Display for ActorParseError
impl Display for ActorParseError
impl Eq for ActorParseError
Source§impl Error for ActorParseError
impl Error for ActorParseError
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 ActorParseError
impl PartialEq for ActorParseError
impl StructuralPartialEq for ActorParseError
Auto Trait Implementations§
impl Freeze for ActorParseError
impl RefUnwindSafe for ActorParseError
impl Send for ActorParseError
impl Sync for ActorParseError
impl Unpin for ActorParseError
impl UnsafeUnpin for ActorParseError
impl UnwindSafe for ActorParseError
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