Skip to main content

IntoStreamHandler

Trait IntoStreamHandler 

Source
pub trait IntoStreamHandler {
    type Stream: Stream;
    type Handler: StreamHandler;

    // Required method
    fn into_handler(self) -> Self::Handler;
}
Available on crate feature feature only.

Required Associated Types§

Required Methods§

Source

fn into_handler(self) -> Self::Handler

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§