[][src]Struct sealrs::actors::dead_letters::DeadLetters

pub struct DeadLetters { /* fields omitted */ }

Methods

impl DeadLetters[src]

pub fn new() -> DeadLetters[src]

Trait Implementations

impl Mailbox for DeadLetters[src]

fn set_planned(&mut self, _planned: bool)[src]

He is always planned. This is needed for prevent scheduling of the mailbox

fn is_planned(&self) -> bool[src]

I say again, he is always planned!

fn enqueue(&mut self, envelope: Envelope)[src]

Constructs a beautiful message and print it

fn dequeue(&mut self) -> Envelope[src]

Oops! This mailbox does not contains the queue

fn has_messages(&self) -> bool[src]

He never store messages

fn clean_up(&mut self, _sender: ActorRef, _dead_letters: ActorRef)[src]

Do nothing

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]