[go: up one dir, main page]

Trait Reply

Source
pub trait Reply {
    // Required method
    fn new<S: ReplySender>(unique: u64, sender: S) -> Self;
}
Expand description

Generic reply trait

Required Methods§

Source

fn new<S: ReplySender>(unique: u64, sender: S) -> Self

Create a new reply for the given request

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§