[−][src]Struct sequoia_openpgp::parse::PacketParserEOF
Information about the stream of packets parsed by the
PacketParser
.
Methods
impl PacketParserEOF
[src]
pub fn is_message(&self) -> Result<()>
[src]
Whether the message is an OpenPGP Message.
As opposed to a Cert or just a bunch of packets.
pub fn is_keyring(&self) -> Result<()>
[src]
Whether the message is an OpenPGP keyring.
As opposed to a Message or just a bunch of packets.
pub fn is_cert(&self) -> Result<()>
[src]
Whether the message is an OpenPGP Cert.
As opposed to a Message or just a bunch of packets.
pub fn last_path(&self) -> &[usize]
[src]
Returns the path of the last packet.
pub fn last_recursion_depth(&self) -> Option<isize>
[src]
The last packet's recursion depth.
A top-level packet has a recursion depth of 0. Packets in a top-level container have a recursion depth of 1, etc.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for PacketParserEOF
impl Send for PacketParserEOF
impl Sync for PacketParserEOF
impl Unpin for PacketParserEOF
impl !UnwindSafe for PacketParserEOF
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,