#[non_exhaustive]pub enum EndpointMode {
ServiceSubdomain,
FixedHost,
}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.
ServiceSubdomain
Resolve service into {service}.{base_host}.
FixedHost
Always use base_host directly (useful for testing against a mock server).
Trait Implementationsยง
Sourceยงimpl Clone for EndpointMode
impl Clone for EndpointMode
Sourceยงfn clone(&self) -> EndpointMode
fn clone(&self) -> EndpointMode
Returns a duplicate of the value. Read more
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSourceยงimpl Debug for EndpointMode
impl Debug for EndpointMode
Sourceยงimpl PartialEq for EndpointMode
impl PartialEq for EndpointMode
impl Copy for EndpointMode
impl Eq for EndpointMode
impl StructuralPartialEq for EndpointMode
Auto Trait Implementationsยง
impl Freeze for EndpointMode
impl RefUnwindSafe for EndpointMode
impl Send for EndpointMode
impl Sync for EndpointMode
impl Unpin for EndpointMode
impl UnwindSafe for EndpointMode
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