#[non_exhaustive]pub enum Tx3Scheme<'a> {
Tx3st,
Tx3rst,
Other(&'a str),
}Expand description
Tx3 url schemes, see Tx3Url for more details
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.
Tx3st
tx3-st - direct TLS over TCP stream socket
Tx3rst
tx3-rst - relayed TLS over TCP
Other(&'a str)
Other tx3 scheme not handled by this implementation
Implementations§
Trait Implementations§
Source§impl<'a> Ord for Tx3Scheme<'a>
impl<'a> Ord for Tx3Scheme<'a>
1.21.0 · 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<'a> PartialOrd for Tx3Scheme<'a>
impl<'a> PartialOrd for Tx3Scheme<'a>
impl<'a> Copy for Tx3Scheme<'a>
impl<'a> Eq for Tx3Scheme<'a>
impl<'a> StructuralPartialEq for Tx3Scheme<'a>
Auto Trait Implementations§
impl<'a> Freeze for Tx3Scheme<'a>
impl<'a> RefUnwindSafe for Tx3Scheme<'a>
impl<'a> Send for Tx3Scheme<'a>
impl<'a> Sync for Tx3Scheme<'a>
impl<'a> Unpin for Tx3Scheme<'a>
impl<'a> UnwindSafe for Tx3Scheme<'a>
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