pub struct Container<'a> { /* private fields */ }Expand description
A file or message: one or more documents and an optional raw tail after EM.
Implementations§
Source§impl<'a> Container<'a>
impl<'a> Container<'a>
pub fn new(buf: &'a [u8]) -> Result<Self>
pub fn has_em(&self) -> bool
Sourcepub fn warnings(&self) -> &[String]
pub fn warnings(&self) -> &[String]
Container-level loud warnings (a blob key in a later heading, EM
with no blob table); each document carries its own.
Auto Trait Implementations§
impl<'a> Forget for Container<'a>
impl<'a> Freeze for Container<'a>
impl<'a> Move for Container<'a>
impl<'a> RefUnwindSafe for Container<'a>
impl<'a> Send for Container<'a>
impl<'a> Sync for Container<'a>
impl<'a> Unpin for Container<'a>
impl<'a> UnsafeUnpin for Container<'a>
impl<'a> UnwindSafe for Container<'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