[][src]Struct oports::Oports

pub struct Oports { /* fields omitted */ }

Methods

impl Oports[src]

pub fn new(ip: IpAddr) -> Self[src]

pub async fn is_port_open<'_>(&'_ self, port: u16) -> bool[src]

pub async fn open_ports_by_range<'_>(&'_ self, from: u16, to: u16) -> Vec<u16>[src]

pub async fn open_ports<'_>(&'_ self) -> Vec<u16>[src]

Auto Trait Implementations

impl RefUnwindSafe for Oports

impl Send for Oports

impl Sync for Oports

impl Unpin for Oports

impl UnwindSafe for Oports

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.