pub enum RoutePreference {
Shorter,
Safer,
LessSecure,
}Expand description
Which route to prefer when several are possible.
Variants§
Shorter
The shortest route.
Safer
The route that avoids low and null security systems.
LessSecure
The route that prefers low and null security systems.
Trait Implementations§
Source§impl Clone for RoutePreference
impl Clone for RoutePreference
impl Copy for RoutePreference
Source§impl Debug for RoutePreference
impl Debug for RoutePreference
impl Eq for RoutePreference
Source§impl PartialEq for RoutePreference
impl PartialEq for RoutePreference
Source§impl Serialize for RoutePreference
impl Serialize for RoutePreference
impl StructuralPartialEq for RoutePreference
Auto Trait Implementations§
impl Freeze for RoutePreference
impl RefUnwindSafe for RoutePreference
impl Send for RoutePreference
impl Sync for RoutePreference
impl Unpin for RoutePreference
impl UnsafeUnpin for RoutePreference
impl UnwindSafe for RoutePreference
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.