Home
runx-runtime

runx_runtime::execution::harness::fixtures

Structs §

HarnessFixtureCase §

pub struct runx_runtime::execution::harness::fixtures::HarnessFixtureCase { /* ... */ }

Trait Implementations §

impl Borrow for HarnessFixtureCase

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for HarnessFixtureCase

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl CloneToUninit for HarnessFixtureCase

clone_to_uninit

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl Into for HarnessFixtureCase

into

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for HarnessFixtureCase

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for HarnessFixtureCase

Error

try_into

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl TryFrom for HarnessFixtureCase

Error

try_from

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl Any for HarnessFixtureCase

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for HarnessFixtureCase

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

fn clone_into(self: &Self, target: &mut T)

impl Same for HarnessFixtureCase

Output

impl Equivalent for HarnessFixtureCase

equivalent

fn equivalent(self: &Self, key: &K) -> bool

impl Equivalent for HarnessFixtureCase

equivalent

fn equivalent(self: &Self, key: &K) -> bool

impl Clone for HarnessFixtureCase

clone

fn clone(self: &Self) -> HarnessFixtureCase

impl Debug for HarnessFixtureCase

impl PartialEq for HarnessFixtureCase

eq

fn eq(self: &Self, other: &HarnessFixtureCase) -> bool

impl Send for HarnessFixtureCase

impl Sync for HarnessFixtureCase

impl Freeze for HarnessFixtureCase

impl UnsafeUnpin for HarnessFixtureCase

impl Unpin for HarnessFixtureCase

impl UnwindSafe for HarnessFixtureCase

impl RefUnwindSafe for HarnessFixtureCase

impl StructuralPartialEq for HarnessFixtureCase

impl Eq for HarnessFixtureCase

HarnessFixtureStepOracle §

pub struct runx_runtime::execution::harness::fixtures::HarnessFixtureStepOracle { /* ... */ }

Trait Implementations §

impl Borrow for HarnessFixtureStepOracle

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for HarnessFixtureStepOracle

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl CloneToUninit for HarnessFixtureStepOracle

clone_to_uninit

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl Into for HarnessFixtureStepOracle

into

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for HarnessFixtureStepOracle

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for HarnessFixtureStepOracle

Error

try_into

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl TryFrom for HarnessFixtureStepOracle

Error

try_from

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl Any for HarnessFixtureStepOracle

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for HarnessFixtureStepOracle

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

fn clone_into(self: &Self, target: &mut T)

impl Same for HarnessFixtureStepOracle

Output

impl Equivalent for HarnessFixtureStepOracle

equivalent

fn equivalent(self: &Self, key: &K) -> bool

impl Equivalent for HarnessFixtureStepOracle

equivalent

fn equivalent(self: &Self, key: &K) -> bool

impl Clone for HarnessFixtureStepOracle

clone

fn clone(self: &Self) -> HarnessFixtureStepOracle

impl Debug for HarnessFixtureStepOracle

impl PartialEq for HarnessFixtureStepOracle

eq

fn eq(self: &Self, other: &HarnessFixtureStepOracle) -> bool

impl Send for HarnessFixtureStepOracle

impl Sync for HarnessFixtureStepOracle

impl Freeze for HarnessFixtureStepOracle

impl UnsafeUnpin for HarnessFixtureStepOracle

impl Unpin for HarnessFixtureStepOracle

impl UnwindSafe for HarnessFixtureStepOracle

impl RefUnwindSafe for HarnessFixtureStepOracle

impl StructuralPartialEq for HarnessFixtureStepOracle

impl Eq for HarnessFixtureStepOracle

HarnessFixture §

pub struct runx_runtime::execution::harness::fixtures::HarnessFixture { /* ... */ }

Trait Implementations §

impl Borrow for HarnessFixture

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for HarnessFixture

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl CloneToUninit for HarnessFixture

clone_to_uninit

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl Into for HarnessFixture

into

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for HarnessFixture

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for HarnessFixture

Error

try_into

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl TryFrom for HarnessFixture

Error

try_from

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl Any for HarnessFixture

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for HarnessFixture

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

fn clone_into(self: &Self, target: &mut T)

impl Same for HarnessFixture

Output

impl Clone for HarnessFixture

clone

fn clone(self: &Self) -> HarnessFixture

impl Debug for HarnessFixture

impl PartialEq for HarnessFixture

eq

fn eq(self: &Self, other: &HarnessFixture) -> bool

impl Send for HarnessFixture

impl Sync for HarnessFixture

impl Freeze for HarnessFixture

impl UnsafeUnpin for HarnessFixture

impl Unpin for HarnessFixture

impl UnwindSafe for HarnessFixture

impl RefUnwindSafe for HarnessFixture

impl StructuralPartialEq for HarnessFixture

HarnessExpectation §

pub struct runx_runtime::execution::harness::fixtures::HarnessExpectation { /* ... */ }

Trait Implementations §

impl Borrow for HarnessExpectation

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for HarnessExpectation

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl CloneToUninit for HarnessExpectation

clone_to_uninit

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl Into for HarnessExpectation

into

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for HarnessExpectation

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for HarnessExpectation

Error

try_into

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl TryFrom for HarnessExpectation

Error

try_from

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl Any for HarnessExpectation

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for HarnessExpectation

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

fn clone_into(self: &Self, target: &mut T)

impl Same for HarnessExpectation

Output

impl Clone for HarnessExpectation

clone

fn clone(self: &Self) -> HarnessExpectation

impl Debug for HarnessExpectation

impl Default for HarnessExpectation

default

fn default() -> HarnessExpectation

impl PartialEq for HarnessExpectation

eq

fn eq(self: &Self, other: &HarnessExpectation) -> bool

impl Send for HarnessExpectation

impl Sync for HarnessExpectation

impl Freeze for HarnessExpectation

impl UnsafeUnpin for HarnessExpectation

impl Unpin for HarnessExpectation

impl UnwindSafe for HarnessExpectation

impl RefUnwindSafe for HarnessExpectation

impl StructuralPartialEq for HarnessExpectation

ReceiptExpectation §

pub struct runx_runtime::execution::harness::fixtures::ReceiptExpectation { /* ... */ }

Trait Implementations §

impl Borrow for ReceiptExpectation

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for ReceiptExpectation

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl CloneToUninit for ReceiptExpectation

clone_to_uninit

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl Into for ReceiptExpectation

into

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for ReceiptExpectation

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for ReceiptExpectation

Error

try_into

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl TryFrom for ReceiptExpectation

Error

try_from

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl Any for ReceiptExpectation

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for ReceiptExpectation

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

fn clone_into(self: &Self, target: &mut T)

impl Same for ReceiptExpectation

Output

impl Clone for ReceiptExpectation

clone

fn clone(self: &Self) -> ReceiptExpectation

impl Debug for ReceiptExpectation

impl PartialEq for ReceiptExpectation

eq

fn eq(self: &Self, other: &ReceiptExpectation) -> bool

impl Send for ReceiptExpectation

impl Sync for ReceiptExpectation

impl Freeze for ReceiptExpectation

impl UnsafeUnpin for ReceiptExpectation

impl Unpin for ReceiptExpectation

impl UnwindSafe for ReceiptExpectation

impl RefUnwindSafe for ReceiptExpectation

impl StructuralPartialEq for ReceiptExpectation

Enums §

HarnessFixtureKind §

pub enum runx_runtime::execution::harness::fixtures::HarnessFixtureKind { /* ... */ }

Trait Implementations §

impl Borrow for HarnessFixtureKind

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for HarnessFixtureKind

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl CloneToUninit for HarnessFixtureKind

clone_to_uninit

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl Into for HarnessFixtureKind

into

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for HarnessFixtureKind

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for HarnessFixtureKind

Error

try_into

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl TryFrom for HarnessFixtureKind

Error

try_from

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl Any for HarnessFixtureKind

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for HarnessFixtureKind

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

fn clone_into(self: &Self, target: &mut T)

impl Same for HarnessFixtureKind

Output

impl Equivalent for HarnessFixtureKind

equivalent

fn equivalent(self: &Self, key: &K) -> bool

impl Equivalent for HarnessFixtureKind

equivalent

fn equivalent(self: &Self, key: &K) -> bool

impl Clone for HarnessFixtureKind

clone

fn clone(self: &Self) -> HarnessFixtureKind

impl Debug for HarnessFixtureKind

impl PartialEq for HarnessFixtureKind

eq

fn eq(self: &Self, other: &HarnessFixtureKind) -> bool

impl Deserialize for HarnessFixtureKind

deserialize

fn deserialize(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>

impl Send for HarnessFixtureKind

impl Sync for HarnessFixtureKind

impl Freeze for HarnessFixtureKind

impl UnsafeUnpin for HarnessFixtureKind

impl Unpin for HarnessFixtureKind

impl UnwindSafe for HarnessFixtureKind

impl RefUnwindSafe for HarnessFixtureKind

impl DeserializeOwned for HarnessFixtureKind

impl StructuralPartialEq for HarnessFixtureKind

impl Eq for HarnessFixtureKind

HarnessExpectedStatus §

pub enum runx_runtime::execution::harness::fixtures::HarnessExpectedStatus { /* ... */ }

Trait Implementations §

impl Borrow for HarnessExpectedStatus

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for HarnessExpectedStatus

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl CloneToUninit for HarnessExpectedStatus

clone_to_uninit

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl Into for HarnessExpectedStatus

into

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for HarnessExpectedStatus

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for HarnessExpectedStatus

Error

try_into

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl TryFrom for HarnessExpectedStatus

Error

try_from

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl Any for HarnessExpectedStatus

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for HarnessExpectedStatus

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

fn clone_into(self: &Self, target: &mut T)

impl Same for HarnessExpectedStatus

Output

impl Equivalent for HarnessExpectedStatus

equivalent

fn equivalent(self: &Self, key: &K) -> bool

impl Equivalent for HarnessExpectedStatus

equivalent

fn equivalent(self: &Self, key: &K) -> bool

impl Clone for HarnessExpectedStatus

clone

fn clone(self: &Self) -> HarnessExpectedStatus

impl Debug for HarnessExpectedStatus

impl PartialEq for HarnessExpectedStatus

eq

fn eq(self: &Self, other: &HarnessExpectedStatus) -> bool

impl Deserialize for HarnessExpectedStatus

deserialize

fn deserialize(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>

impl Send for HarnessExpectedStatus

impl Sync for HarnessExpectedStatus

impl Freeze for HarnessExpectedStatus

impl UnsafeUnpin for HarnessExpectedStatus

impl Unpin for HarnessExpectedStatus

impl UnwindSafe for HarnessExpectedStatus

impl RefUnwindSafe for HarnessExpectedStatus

impl DeserializeOwned for HarnessExpectedStatus

impl StructuralPartialEq for HarnessExpectedStatus

impl Eq for HarnessExpectedStatus

HarnessFixtureError §

pub enum runx_runtime::execution::harness::fixtures::HarnessFixtureError { /* ... */ }

Trait Implementations §

impl Borrow for HarnessFixtureError

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for HarnessFixtureError

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl Into for HarnessFixtureError

into

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for HarnessFixtureError

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for HarnessFixtureError

Error

try_into

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl TryFrom for HarnessFixtureError

Error

try_from

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl Any for HarnessFixtureError

type_id

fn type_id(self: &Self) -> TypeId

impl ToString for HarnessFixtureError

to_string

fn to_string(self: &Self) -> String

impl Same for HarnessFixtureError

Output

impl Debug for HarnessFixtureError

impl Error for HarnessFixtureError

impl Display for HarnessFixtureError

fmt

fn fmt(self: &Self, __formatter: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result

impl From for HarnessFixtureError

from

fn from(source: serde_norway::Error) -> Self

impl From for HarnessReplayError

from

fn from(source: HarnessFixtureError) -> Self

impl Send for HarnessFixtureError

impl Sync for HarnessFixtureError

impl Freeze for HarnessFixtureError

impl UnsafeUnpin for HarnessFixtureError

impl Unpin for HarnessFixtureError

impl UnwindSafe for HarnessFixtureError

impl RefUnwindSafe for HarnessFixtureError

Functions §

list_cases §

fn list_cases() -> &'static [HarnessFixtureCase]
#[must_use]

load_harness_fixture §

fn load_harness_fixture( path: impl AsRef<std::path::Path> ) -> Result<HarnessFixture, HarnessFixtureError>

parse_harness_fixture §

fn parse_harness_fixture(contents: &str) -> Result<HarnessFixture, HarnessFixtureError>