Skip to main content

EndpointSet

Trait EndpointSet 

Source
pub trait EndpointSet: Send + 'static {
    // Required method
    fn item_types() -> (Option<TypeId>, Option<TypeId>);

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

Required Methods§

Provided Methods§

Source

fn transferred(&self) -> bool

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl EndpointSet for ()

Source§

impl<I, O> EndpointSet for (I, O)

Implementors§

Source§

impl<T, E> EndpointSet for StreamOutput<T, E>
where T: Send + 'static, E: 'static,

Source§

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