pub enum ScanProtocol {
Tcp,
Udp,
Both,
}Expand description
Protocols that can be scanned
Variants§
Trait Implementations§
Source§impl Clone for ScanProtocol
impl Clone for ScanProtocol
Source§fn clone(&self) -> ScanProtocol
fn clone(&self) -> ScanProtocol
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 ScanProtocol
impl Debug for ScanProtocol
Source§impl PartialEq for ScanProtocol
impl PartialEq for ScanProtocol
impl Copy for ScanProtocol
impl Eq for ScanProtocol
impl StructuralPartialEq for ScanProtocol
Auto Trait Implementations§
impl Freeze for ScanProtocol
impl RefUnwindSafe for ScanProtocol
impl Send for ScanProtocol
impl Sync for ScanProtocol
impl Unpin for ScanProtocol
impl UnwindSafe for ScanProtocol
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