pub struct FrontendChannels {
pub event_rx: Receiver<AgentEvent>,
pub message_tx: Sender<FrontendMessage>,
}Expand description
Frontend-side channel ends.
Fields§
§event_rx: Receiver<AgentEvent>Frontend uses this to receive events from the Agent.
message_tx: Sender<FrontendMessage>Frontend uses this to send messages to the Agent.
Auto Trait Implementations§
impl Freeze for FrontendChannels
impl RefUnwindSafe for FrontendChannels
impl Send for FrontendChannels
impl Sync for FrontendChannels
impl Unpin for FrontendChannels
impl UnsafeUnpin for FrontendChannels
impl UnwindSafe for FrontendChannels
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