[][src]Struct cex::log::Frame

pub struct Frame {
    pub module: &'static str,
    pub file: &'static str,
    pub line: u32,
    pub column: u32,
    pub info: Option<String>,
}

A struct for store one frame for tracing.

Fields

module: &'static strfile: &'static strline: u32column: u32info: Option<String>

Methods

impl Frame
[src]

pub fn new(
    module: &'static str,
    file: &'static str,
    line: u32,
    column: u32,
    info: Option<String>
) -> Self
[src]

Trait Implementations

impl PartialEq<Frame> for Frame
[src]

impl Eq for Frame
[src]

impl PartialOrd<Frame> for Frame
[src]

impl Ord for Frame
[src]

fn max(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the minimum of two values. Read more

impl Default for Frame
[src]

impl Debug for Frame
[src]

Auto Trait Implementations

impl Send for Frame

impl Sync for Frame

Blanket Implementations

impl<Enum> Okey for Enum
[src]

fn okey<E, Dest, Index>(self) -> Result<Dest, E> where
    Self: Sized + IntoEnumx<Dest, Index>, 
[src]

impl<Enum> Error for Enum
[src]

fn error<T, Dest, Index>(self) -> Result<T, Dest> where
    Self: Sized + IntoEnumx<Dest, Index>, 
[src]

impl<Inner, Agent> ToLog for Inner where
    Agent: LogAgent
[src]

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

impl<T> From for T
[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<Enum, Variant, Index> IntoEnum for Variant where
    Enum: FromVariant<Variant, Index>, 
[src]

impl<Src, Dest, Proto, Indices> ExchangeInto for Src where
    Dest: EnumX<Proto = Proto>,
    Src: ExchangeInto<Proto, (Indices, AA)>, 
[src]

impl<Src, Dest, Indices> ExchangeInto for Src where
    Dest: ExchangeFrom<Src, (Indices, AA)>, 
[src]

impl<Src, Dest, Indices> EnumxFrom for Dest where
    Dest: ExchangeFrom<Src, Indices>, 
[src]

impl<Src, Dest, Index> IntoEnumx for Src where
    Dest: EnumxFrom<Src, Index>, 
[src]