[−][src]Enum sentry::internals::Scheme
pub enum Scheme { Http, Https, }
Represents the scheme of an url http/https.
This holds schemes that are supported by sentry and relays.
Variants
unencrypted HTTP scheme (should not be used)
encrypted HTTPS scheme
Implementations
impl Scheme
[src][−]
pub fn default_port(self) -> u16
[src][−]
Returns the default port for this scheme.
Trait Implementations
impl Clone for Scheme
[src][+]
impl Copy for Scheme
[src]
impl Debug for Scheme
[src][+]
impl Display for Scheme
[src][+]
impl Eq for Scheme
[src]
impl Hash for Scheme
[src][+]
impl Ord for Scheme
[src][+]
impl PartialEq<Scheme> for Scheme
[src][+]
impl PartialOrd<Scheme> for Scheme
[src][+]
impl StructuralEq for Scheme
[src]
impl StructuralPartialEq for Scheme
[src]
Auto Trait Implementations
impl RefUnwindSafe for Scheme
impl Send for Scheme
impl Sync for Scheme
impl Unpin for Scheme
impl UnwindSafe for Scheme
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src][+]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T> ToString for T where
T: Display + ?Sized,
[src][+]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[+]
V: MultiLane<T>,