Enum aws_smithy_http::endpoint::InvalidEndpoint
source · [−]#[non_exhaustive]
pub enum InvalidEndpoint {
EndpointMustHaveAuthority,
EndpointMustHaveScheme,
FailedToConstructAuthority,
FailedToConstructUri,
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
EndpointMustHaveAuthority
EndpointMustHaveScheme
FailedToConstructAuthority
FailedToConstructUri
Trait Implementations
sourceimpl Clone for InvalidEndpoint
impl Clone for InvalidEndpoint
sourcefn clone(&self) -> InvalidEndpoint
fn clone(&self) -> InvalidEndpoint
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for InvalidEndpoint
impl Debug for InvalidEndpoint
sourceimpl Display for InvalidEndpoint
impl Display for InvalidEndpoint
sourceimpl Error for InvalidEndpoint
impl Error for InvalidEndpoint
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl PartialEq<InvalidEndpoint> for InvalidEndpoint
impl PartialEq<InvalidEndpoint> for InvalidEndpoint
sourcefn eq(&self, other: &InvalidEndpoint) -> bool
fn eq(&self, other: &InvalidEndpoint) -> bool
impl Eq for InvalidEndpoint
impl StructuralEq for InvalidEndpoint
impl StructuralPartialEq for InvalidEndpoint
Auto Trait Implementations
impl RefUnwindSafe for InvalidEndpoint
impl Send for InvalidEndpoint
impl Sync for InvalidEndpoint
impl Unpin for InvalidEndpoint
impl UnwindSafe for InvalidEndpoint
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more