pub struct WithProp<P, S> { /* private fields */ }Expand description
Returned by RoundStoreExt::set_prop
Trait Implementations§
Source§impl<P, S> RoundStore for WithProp<P, S>where
S: RoundStore,
P: Clone + 'static,
impl<P, S> RoundStore for WithProp<P, S>where
S: RoundStore,
P: Clone + 'static,
Source§fn add_message(&mut self, msg: Incoming<Self::Msg>) -> Result<(), Self::Error>
fn add_message(&mut self, msg: Incoming<Self::Msg>) -> Result<(), Self::Error>
Adds received message to the store Read more
Source§fn wants_more(&self) -> bool
fn wants_more(&self) -> bool
Indicates if store expects more messages to receive
Source§fn output(self) -> Result<Self::Output, Self>
fn output(self) -> Result<Self::Output, Self>
Retrieves store output if enough messages are received Read more
Source§fn read_any_prop(&self, property: &mut dyn Any)
fn read_any_prop(&self, property: &mut dyn Any)
Interface that exposes ability to retrieve generic information about the round store Read more
Auto Trait Implementations§
impl<P, S> Freeze for WithProp<P, S>
impl<P, S> RefUnwindSafe for WithProp<P, S>where
P: RefUnwindSafe,
S: RefUnwindSafe,
impl<P, S> Send for WithProp<P, S>
impl<P, S> Sync for WithProp<P, S>
impl<P, S> Unpin for WithProp<P, S>
impl<P, S> UnwindSafe for WithProp<P, S>where
P: UnwindSafe,
S: 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