pub enum PeopleError {
NotAttached,
Refused(String),
Unreachable,
}Expand description
What went wrong managing people. Carries the engine’s own message where there is one, because those messages come from the control plane and are written to be shown to a person (“that does not look like an email address”).
Variants§
NotAttached
This app has not registered with the engine, so it holds no capability.
Refused(String)
The engine (or the service behind it) refused, with its own wording.
Unreachable
The engine could not be reached at all.
Trait Implementations§
Source§impl Debug for PeopleError
impl Debug for PeopleError
Source§impl Display for PeopleError
impl Display for PeopleError
Source§impl Error for PeopleError
impl Error for PeopleError
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 PeopleError
impl RefUnwindSafe for PeopleError
impl Send for PeopleError
impl Sync for PeopleError
impl Unpin for PeopleError
impl UnsafeUnpin for PeopleError
impl UnwindSafe for PeopleError
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