pub struct RunningState<Extra: Clone + Debug> {
pub constellation: Box<Constellation>,
extra: Extra,
}Expand description
Additional state when discovery has been completed. Derefs to Extra.
Fields§
§constellation: Box<Constellation>§extra: ExtraAccessible via Deref.
Implementations§
Source§impl<Extra: Clone + Debug> RunningState<Extra>
impl<Extra: Clone + Debug> RunningState<Extra>
pub(crate) fn new(constellation: Constellation, extra: Extra) -> Self
Trait Implementations§
Source§impl<Extra: Clone + Clone + Debug> Clone for RunningState<Extra>
impl<Extra: Clone + Clone + Debug> Clone for RunningState<Extra>
Source§fn clone(&self) -> RunningState<Extra>
fn clone(&self) -> RunningState<Extra>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<Extra> Freeze for RunningState<Extra>where
Extra: Freeze,
impl<Extra> RefUnwindSafe for RunningState<Extra>where
Extra: RefUnwindSafe,
impl<Extra> Send for RunningState<Extra>where
Extra: Send,
impl<Extra> Sync for RunningState<Extra>where
Extra: Sync,
impl<Extra> Unpin for RunningState<Extra>where
Extra: Unpin,
impl<Extra> UnsafeUnpin for RunningState<Extra>where
Extra: UnsafeUnpin,
impl<Extra> UnwindSafe for RunningState<Extra>where
Extra: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more