pub enum EpEvt {
Connected {
rem_cli_url: Tx5Url,
},
Disconnected {
rem_cli_url: Tx5Url,
},
Data {
rem_cli_url: Tx5Url,
data: Box<dyn Buf + Send + 'static>,
permit: Vec<Permit>,
},
Demo {
rem_cli_url: Tx5Url,
},
}
Expand description
Event type emitted by a tx5 endpoint.
Fields
The remote client url connected.
Fields
The remote client url disconnected.
Fields
The remote client url that sent this message.
The payload of the message.
Drop this when you’ve accepted the data to allow additional
incoming messages.
Received data from a remote.
Fields
The remote client url that is available for communication.
Received a demo broadcast.
Formats the value using the given formatter.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Instruments this type with the provided
Span, returning an
Instrumented wrapper.
Read more
Calls U::from(self).
That is, this conversion is whatever the implementation of
From<T> for U chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.