pub struct MsgReader<'c, 'p, F> { /* private fields */ }Expand description
A low-level API for reading data from a .msg file.
Implementations§
Source§impl<'c, 'p, F> MsgReader<'c, 'p, F>
impl<'c, 'p, F> MsgReader<'c, 'p, F>
pub fn new(inner: &'c mut CompoundFile<F>, path: &'p Path) -> Self
pub fn read_path_as_binary( &mut self, subpath: &Path, ) -> Result<Vec<u8>, MsgError>
pub fn read_path_as_string( &mut self, subpath: &Path, ) -> Result<String, MsgError>
pub fn pr_subject(&mut self) -> Result<String, MsgError>
pub fn pr_sender_name(&mut self) -> Result<String, MsgError>
pub fn pr_sender_email_adress_str(&mut self) -> Result<String, MsgError>
pub fn pr_smtp_sender_address(&mut self) -> Result<String, MsgError>
pub fn pr_smtp_address(&mut self) -> Result<String, MsgError>
pub fn sender_address(&mut self) -> Result<String, MsgError>
pub fn from(&mut self) -> Result<(String, String), MsgError>
pub fn pr_transport_message_headers(&mut self) -> Result<String, MsgError>
pub fn pr_body_html(&mut self) -> Result<String, MsgError>
pub fn pr_rtf_compressed(&mut self) -> Result<Vec<u8>, MsgError>
pub fn body(&mut self) -> Result<String, MsgError>
pub fn sent_date(&mut self) -> Result<DateTime<Utc>, MsgError>
pub fn to(&mut self) -> Result<Vec<(String, String)>, MsgError>
pub fn cc(&mut self) -> Result<Vec<(String, String)>, MsgError>
pub fn bcc(&mut self) -> Result<Vec<(String, String)>, MsgError>
pub fn attachments(&mut self) -> Result<Vec<Attachment>, MsgError>
pub fn embedded_messages(&mut self) -> Result<Vec<PathBuf>, MsgError>
Auto Trait Implementations§
impl<'c, 'p, F> Freeze for MsgReader<'c, 'p, F>
impl<'c, 'p, F> RefUnwindSafe for MsgReader<'c, 'p, F>
impl<'c, 'p, F> Send for MsgReader<'c, 'p, F>
impl<'c, 'p, F> Sync for MsgReader<'c, 'p, F>
impl<'c, 'p, F> Unpin for MsgReader<'c, 'p, F>
impl<'c, 'p, F> !UnwindSafe for MsgReader<'c, 'p, F>
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