Struct rings_node::backend::text::TextEndpoint
source · pub struct TextEndpoint;Expand description
SimpleTextEndpoint
Trait Implementations§
source§impl Clone for TextEndpoint
impl Clone for TextEndpoint
source§fn clone(&self) -> TextEndpoint
fn clone(&self) -> TextEndpoint
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TextEndpoint
impl Debug for TextEndpoint
source§impl Default for TextEndpoint
impl Default for TextEndpoint
source§fn default() -> TextEndpoint
fn default() -> TextEndpoint
Returns the “default value” for a type. Read more
source§impl MessageEndpoint for TextEndpoint
impl MessageEndpoint for TextEndpoint
source§fn handle_message<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
_handler: &'life1 MessageHandler,
_ctx: &'life2 MessagePayload<Message>,
relay: &'life3 MessageRelay,
data: &'life4 BackendMessage
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
fn handle_message<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
_handler: &'life1 MessageHandler,
_ctx: &'life2 MessagePayload<Message>,
relay: &'life3 MessageRelay,
data: &'life4 BackendMessage
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
handle_message