[][src]Struct parody::Parody

pub struct Parody { /* fields omitted */ }

Represents a running Parody server

Methods

impl Parody[src]

pub fn ip(&self) -> IpAddr[src]

pub fn port(&self) -> u16[src]

pub fn requests(
    &self
) -> Option<Arc<Mutex<Vec<Box<dyn ParodyRequest + Send + Sync>>>>>
[src]

pub fn url(&self) -> Url[src]

Trait Implementations

impl Debug for Parody[src]

impl Drop for Parody[src]

Stops the listener on destruction

Auto Trait Implementations

impl !RefUnwindSafe for Parody

impl Send for Parody

impl Sync for Parody

impl Unpin for Parody

impl !UnwindSafe for Parody

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> DebugAny for T where
    T: Any + Debug

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

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

impl<T> PersistentInto<Arc<Mutex<T>>> for T[src]

impl<T> PersistentInto<Arc<RwLock<T>>> for T[src]

impl<T> PersistentInto<Arc<T>> for T[src]

impl<T> PersistentInto<T> for 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.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<T> Typeable for T where
    T: Any

impl<T> UnsafeAny for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,