ractor

Trait State

Source
pub trait State:
    Any
    + Send
    + 'static { }
Expand description

Represents the state of an actor. Must be safe to send between threads (same bounds as a Message)

Implementors§

Source§

impl<T: Any + Send + 'static> State for T