[−][src]Struct sealrs::actors::props::Props
Fields
actor: TSafe<dyn Actor + Send>
User defined actor instance
dispatcher: String
Name of dispatcher on which actor must work
Methods
impl Props
[src]
pub fn new(actor: TSafe<dyn Actor + Send>) -> Props
[src]
pub fn with_dispatcher(self, name: &str) -> Props
[src]
Sets dispatcher name on which the actor must work. By default exists two type of dispatchers: 'default' and 'pinned'. If you want to use other dispatchers types, you need register it's in the actor system.
Auto Trait Implementations
impl Sync for Props
impl Send for Props
impl Unpin for Props
impl RefUnwindSafe for Props
impl UnwindSafe for Props
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,