pub struct Bound<'a, S: Host> {
pub registry: &'a Registry<S>,
pub state: &'a mut S,
}Expand description
A registry bound to one state: what control port, MCP and CLI drive through Dispatch.
Fields§
§registry: &'a Registry<S>§state: &'a mut STrait Implementations§
Auto Trait Implementations§
impl<'a, S> !UnwindSafe for Bound<'a, S>
impl<'a, S> Freeze for Bound<'a, S>
impl<'a, S> RefUnwindSafe for Bound<'a, S>
impl<'a, S> Send for Bound<'a, S>
impl<'a, S> Sync for Bound<'a, S>
impl<'a, S> Unpin for Bound<'a, S>
impl<'a, S> UnsafeUnpin for Bound<'a, S>
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