/// Composes a new `Filter` of either this or the other filter.
///
/// # Example
///
/// ```
/// use std::net::SocketAddr;
/// use warp::Filter;
///
/// // Match either `/:u32` or `/:socketaddr`
/// warp::path::param::<u32>()
///     .or(warp::path::param::<SocketAddr>());
/// ```
Composes a new `Filter` of either this or the other filter.
Composes a new ` Filter ` of either this or the other filter .
fn or<F>(self, other: F) -> Or<Self, F>
    where
        Self: Sized,
        F: Filter,
        F::Error: CombineRejection<Self::Error>,
    {
        Or {
            first: self,
            second: other,
        }
    }
fn or < F > ( self , other : F ) -> Or < Self , F > where Self : Sized , F : Filter , F :: Error : CombineRejection < Self :: Error > , { Or { first : self , second : other , } }
Composes a new `Filter` of either this or the other filter.
Composes a new ` Filter ` of either this or the other filter .
self
other
F
example
```
use std::net::SocketAddr;
use warp::Filter.


` ` ` use std :: net :: SocketAddr ; use warp :: Filter .