pub enum EndpointPolicyError {
EmptyOfficialSet,
TooManyOfficialEndpoints,
InvalidRegion,
DestinationMismatch,
}Expand description
Endpoint trust policy validation or matching error.
Variants§
EmptyOfficialSet
A finite official endpoint set must not be empty.
TooManyOfficialEndpoints
A finite official endpoint set exceeds MAX_OFFICIAL_ENDPOINTS.
InvalidRegion
A region identifier is not bounded canonical lowercase ASCII.
DestinationMismatch
The candidate endpoint is not admitted by the policy.
Trait Implementations§
Source§impl Clone for EndpointPolicyError
impl Clone for EndpointPolicyError
Source§fn clone(&self) -> EndpointPolicyError
fn clone(&self) -> EndpointPolicyError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EndpointPolicyError
Source§impl Debug for EndpointPolicyError
impl Debug for EndpointPolicyError
Source§impl Display for EndpointPolicyError
impl Display for EndpointPolicyError
impl Eq for EndpointPolicyError
Source§impl Error for EndpointPolicyError
impl Error for EndpointPolicyError
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 EndpointPolicyError
impl PartialEq for EndpointPolicyError
impl StructuralPartialEq for EndpointPolicyError
Auto Trait Implementations§
impl Freeze for EndpointPolicyError
impl RefUnwindSafe for EndpointPolicyError
impl Send for EndpointPolicyError
impl Sync for EndpointPolicyError
impl Unpin for EndpointPolicyError
impl UnsafeUnpin for EndpointPolicyError
impl UnwindSafe for EndpointPolicyError
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