pub enum PrincipalConfigError {
ThirdPartyEndpoint,
NeedsProtocolV2,
BadLabel,
}Expand description
Why a principal configuration is refused at construction.
Variants§
ThirdPartyEndpoint
Principal forwarding to an endpoint the host does not operate.
NeedsProtocolV2
The reference is a rustev.remote/2 member.
BadLabel
A mapping version or scope that is empty, too long or not printable.
Trait Implementations§
Source§impl Clone for PrincipalConfigError
impl Clone for PrincipalConfigError
Source§impl Debug for PrincipalConfigError
impl Debug for PrincipalConfigError
Source§impl Display for PrincipalConfigError
impl Display for PrincipalConfigError
impl Eq for PrincipalConfigError
Source§impl Error for PrincipalConfigError
impl Error for PrincipalConfigError
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 PrincipalConfigError
impl PartialEq for PrincipalConfigError
impl StructuralPartialEq for PrincipalConfigError
Auto Trait Implementations§
impl Freeze for PrincipalConfigError
impl RefUnwindSafe for PrincipalConfigError
impl Send for PrincipalConfigError
impl Sync for PrincipalConfigError
impl Unpin for PrincipalConfigError
impl UnsafeUnpin for PrincipalConfigError
impl UnwindSafe for PrincipalConfigError
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