Trait proc_macro::bridge::server::MessagePipe
source · pub trait MessagePipe<T>: Sized {
// Required methods
fn new() -> (Self, Self);
fn send(&mut self, value: T);
fn recv(&mut self) -> Option<T>;
}
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)Expand description
A message pipe used for communicating between server and client threads.
Required Methods§
sourcefn new() -> (Self, Self)
fn new() -> (Self, Self)
🔬This is a nightly-only experimental API. (
proc_macro_internals
#27812)Create a new pair of endpoints for the message pipe.