Struct rnotifylib::send_error::SendErrors
source · 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.