pub enum PortRequest {
Any,
Specific(Port),
}Expand description
How chromedriver should pick the port it listens on.
Variants§
Trait Implementations§
Source§impl Clone for PortRequest
impl Clone for PortRequest
Source§fn clone(&self) -> PortRequest
fn clone(&self) -> PortRequest
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 moreSource§impl Debug for PortRequest
impl Debug for PortRequest
Source§impl From<Port> for PortRequest
impl From<Port> for PortRequest
Source§impl From<u16> for PortRequest
impl From<u16> for PortRequest
Source§impl PartialEq for PortRequest
impl PartialEq for PortRequest
Source§fn eq(&self, other: &PortRequest) -> bool
fn eq(&self, other: &PortRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PortRequest
impl Eq for PortRequest
impl StructuralPartialEq for PortRequest
Auto Trait Implementations§
impl Freeze for PortRequest
impl RefUnwindSafe for PortRequest
impl Send for PortRequest
impl Sync for PortRequest
impl Unpin for PortRequest
impl UnsafeUnpin for PortRequest
impl UnwindSafe for PortRequest
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
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§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.