pub struct SendErrors<'a> { /* private fields */ }
Expand description
A struct containing information about what parts succeeded and what parts failed about MessageRouter::route attempt.
Implementations§
Source§impl<'a> SendErrors<'a>
impl<'a> SendErrors<'a>
pub fn new( message: &'a Message, errors: Vec<ReportedSendError<'a>>, successfully_sent: usize, ) -> Self
Sourcepub fn get_message(&self) -> &Message
pub fn get_message(&self) -> &Message
Get the message that caused errors when sent.
Trait Implementations§
Source§impl<'a> Debug for SendErrors<'a>
impl<'a> Debug for SendErrors<'a>
Auto Trait Implementations§
impl<'a> Freeze for SendErrors<'a>
impl<'a> !RefUnwindSafe for SendErrors<'a>
impl<'a> !Send for SendErrors<'a>
impl<'a> !Sync for SendErrors<'a>
impl<'a> Unpin for SendErrors<'a>
impl<'a> !UnwindSafe for SendErrors<'a>
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