pub enum StackPrefer {
V4,
V6,
V4V6,
V6V4,
}Variants§
Implementations§
Source§impl StackPrefer
impl StackPrefer
pub fn support_v6(&self) -> bool
Trait Implementations§
Source§impl Clone for StackPrefer
impl Clone for StackPrefer
Source§fn clone(&self) -> StackPrefer
fn clone(&self) -> StackPrefer
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 StackPrefer
impl Debug for StackPrefer
impl Copy for StackPrefer
Auto Trait Implementations§
impl Freeze for StackPrefer
impl RefUnwindSafe for StackPrefer
impl Send for StackPrefer
impl Sync for StackPrefer
impl Unpin for StackPrefer
impl UnwindSafe for StackPrefer
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