Skip to main content

InputEndpoint

Trait InputEndpoint 

Source
pub trait InputEndpoint: Send + 'static {
    type Item: Send + 'static;

    // Provided method
    fn transferred(&self) -> bool { ... }
}

Required Associated Types§

Source

type Item: Send + 'static

Provided Methods§

Source

fn transferred(&self) -> bool

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<T> InputEndpoint for StreamInput<T>
where T: Send + 'static,

Source§

type Item = T