[][src]Struct pcap_file::pcapng::SystemdJournalExportBlock

pub struct SystemdJournalExportBlock<'a> {
    pub journal_entry: Cow<'a, [u8]>,
}

The systemd Journal Export Block is a lightweight containter for systemd Journal Export Format entry data.

Fields

journal_entry: Cow<'a, [u8]>

A journal entry as described in the Journal Export Format documentation.

Methods

impl<'a> SystemdJournalExportBlock<'a>[src]

pub fn into_owned(self) -> SystemdJournalExportBlock<'static>[src]

Returns a version of self with all fields converted to owning versions.

impl<'a> SystemdJournalExportBlock<'a>[src]

pub fn from_slice<B: ByteOrder>(
    slice: &'a [u8]
) -> Result<(&'a [u8], Self), PcapError>
[src]

Trait Implementations

impl<'a> Clone for SystemdJournalExportBlock<'a>[src]

impl<'a> Debug for SystemdJournalExportBlock<'a>[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]