[][src]Enum cortex::helpers::NewTaskMessage

pub enum NewTaskMessage {
    Info(NewLogInfo),
    Warning(NewLogWarning),
    Error(NewLogError),
    Fatal(NewLogFatal),
    Invalid(NewLogInvalid),
}

Enum for all types of reported messages for a given Task, as per the LaTeXML convention One of "invalid", "fatal", "error", "warning" or "info"

Variants

Info(NewLogInfo)

Debug/low-priroity messages

Warning(NewLogWarning)

Soft/resumable problem messages

Error(NewLogError)

Hard/recoverable problem messages

Fatal(NewLogFatal)

Critical/unrecoverable problem messages

Invalid(NewLogInvalid)

Invalid tasks, work can not begin

Implementations

impl NewTaskMessage[src]

pub fn new(
    task_id: i64,
    severity: &str,
    category: String,
    what: String,
    details: String
) -> NewTaskMessage
[src]

Instantiates an appropriate insertable LogRecord object based on the raw message components

Trait Implementations

impl Clone for NewTaskMessage[src]

impl CortexInsertable for NewTaskMessage[src]

impl Debug for NewTaskMessage[src]

impl LogRecord for NewTaskMessage[src]

Auto Trait Implementations

impl RefUnwindSafe for NewTaskMessage

impl Send for NewTaskMessage

impl Sync for NewTaskMessage

impl Unpin for NewTaskMessage

impl UnwindSafe for NewTaskMessage

Blanket Implementations

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

impl<T, I> AsResult<T, I> for T where
    I: Input, 

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

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

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

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

impl<T> IntoCollection<T> for T

impl<T> IntoSql for T

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized

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> Typeable for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,