pub enum ActrIdError {
InvalidFormat(String),
InvalidComponent(String),
InvalidTypeFormat(String),
}Expand description
Errors for actor identity parsing and formatting.
Covers only syntactic/structural validity of ActrId and ActrType strings.
Runtime and RPC errors belong to ActrIdError in the error module.
Variants§
Trait Implementations§
Source§impl Debug for ActrIdError
impl Debug for ActrIdError
Source§impl Display for ActrIdError
impl Display for ActrIdError
impl Eq for ActrIdError
Source§impl Error for ActrIdError
impl Error for ActrIdError
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 ActrIdError
impl PartialEq for ActrIdError
Source§fn eq(&self, other: &ActrIdError) -> bool
fn eq(&self, other: &ActrIdError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ActrIdError
Auto Trait Implementations§
impl Freeze for ActrIdError
impl RefUnwindSafe for ActrIdError
impl Send for ActrIdError
impl Sync for ActrIdError
impl Unpin for ActrIdError
impl UnsafeUnpin for ActrIdError
impl UnwindSafe for ActrIdError
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