Struct websocat::WebsocatConfiguration3 [−][src]
An immutable chain of fucntions that results in a Future
s or Streams
that rely on each other.
This is somewhat like a frozen form of WebsocatConfiguration2
.
Fields
opts: Options
s1: Rc<dyn Specifier>
s2: Rc<dyn Specifier>
Implementations
impl WebsocatConfiguration3
[src]
pub fn serve<OE>(self, onerror: Rc<OE>) -> impl Future<Item = (), Error = ()> where
OE: Fn(Box<dyn Error>) + 'static,
[src]
OE: Fn(Box<dyn Error>) + 'static,
Auto Trait Implementations
impl !RefUnwindSafe for WebsocatConfiguration3
impl !Send for WebsocatConfiguration3
impl !Sync for WebsocatConfiguration3
impl Unpin for WebsocatConfiguration3
impl !UnwindSafe for WebsocatConfiguration3
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
[src]
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Erased for T
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,