[][src]Enum varnishslog_types::Log

pub enum Log<'i> {
    Raw(Vec<RawLog<'i>>),
    Indexed(IndexedLog<'i>),
}

Variants

Raw(Vec<RawLog<'i>>)Indexed(IndexedLog<'i>)

Methods

impl<'i> Log<'i>[src]

pub fn as_raw(&self) -> Option<&Vec<RawLog<'i>>>[src]

pub fn as_indexed(&self) -> Option<&IndexedLog<'i>>[src]

Trait Implementations

impl<'i> Debug for Log<'i>[src]

impl<'de: 'i, 'i> Deserialize<'de> for Log<'i>[src]

Auto Trait Implementations

impl<'i> Send for Log<'i>

impl<'i> Unpin for Log<'i>

impl<'i> Sync for Log<'i>

impl<'i> UnwindSafe for Log<'i>

impl<'i> RefUnwindSafe for Log<'i>

Blanket Implementations

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

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

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]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]