[−][src]Struct herbert::RouterRequest
A request to route a message to an actor.
The request consists of the ID of an actor previously spawned through the router and an
arbitrary value to be sent to the actor, expressed as a boxed Any + Send
trait object.
Fields
id: String
val: Box<dyn Any + Send>
Methods
impl RouterRequest
[src]
Auto Trait Implementations
impl !RefUnwindSafe for RouterRequest
impl Send for RouterRequest
impl !Sync for RouterRequest
impl Unpin for RouterRequest
impl !UnwindSafe for RouterRequest
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,