pub enum EndpointScheme {
Http,
Https,
}Expand description
Network scheme in an immutable endpoint identity.
Variants§
Trait Implementations§
Source§impl Clone for EndpointScheme
impl Clone for EndpointScheme
Source§fn clone(&self) -> EndpointScheme
fn clone(&self) -> EndpointScheme
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 EndpointScheme
Source§impl Debug for EndpointScheme
impl Debug for EndpointScheme
impl Eq for EndpointScheme
Source§impl Hash for EndpointScheme
impl Hash for EndpointScheme
Source§impl Ord for EndpointScheme
impl Ord for EndpointScheme
Source§fn cmp(&self, other: &EndpointScheme) -> Ordering
fn cmp(&self, other: &EndpointScheme) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EndpointScheme
impl PartialEq for EndpointScheme
Source§impl PartialOrd for EndpointScheme
impl PartialOrd for EndpointScheme
impl StructuralPartialEq for EndpointScheme
Auto Trait Implementations§
impl Freeze for EndpointScheme
impl RefUnwindSafe for EndpointScheme
impl Send for EndpointScheme
impl Sync for EndpointScheme
impl Unpin for EndpointScheme
impl UnsafeUnpin for EndpointScheme
impl UnwindSafe for EndpointScheme
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