[][src]Struct test4a::Message

pub struct Message<'a> { /* fields omitted */ }

Stores messages for successive steps of a test.

Examples

use test4a::Message;

fn do_something(message: &mut Message) {
    message.set("Execution of X");
    // Execute X
}

Methods

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

pub fn set(&mut self, message: &'a str)[src]

Set the message for the current step of the test.

Auto Trait Implementations

impl<'a> Send for Message<'a>

impl<'a> Sync for Message<'a>

Blanket Implementations

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

impl<T> From<T> for 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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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