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.
Variants§
Connected
Connection established.
Disconnected
Connection closed.
Data
Fields
Received data from a remote.
Demo
Received a demo broadcast.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for EpEvt
impl Send for EpEvt
impl !Sync for EpEvt
impl Unpin for EpEvt
impl !UnwindSafe for EpEvt
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more