#[non_exhaustive]pub struct RunningController {
pub handle: ControllerHandle,
pub events: EventReceiver,
pub task: ControllerTask,
}Expand description
A controller with its own connection.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.handle: ControllerHandleSnapshot reads, /set and $broadcast.
events: EventReceiverThe controller’s events.
task: ControllerTaskThe future the host spawns.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for RunningController
impl !RefUnwindSafe for RunningController
impl !Sync for RunningController
impl !UnwindSafe for RunningController
impl Send for RunningController
impl Unpin for RunningController
impl UnsafeUnpin for RunningController
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