Home
runx-contracts

runx_contracts::signal

Signal contracts: trust-tagged events that enter the act lifecycle.

Signal contracts: trust-tagged events that enter the act lifecycle.

Modules §

signal_type §

Canonical signal type identifiers. The wire form is an open NonEmptyString so adapters that observe a new event category can publish their own identifier without a contract edit.

Structs §

SignalAuthenticity §

pub struct runx_contracts::signal::SignalAuthenticity { /* ... */ }

Trait Implementations §

impl Borrow for SignalAuthenticity

borrow

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

impl BorrowMut for SignalAuthenticity

borrow_mut

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

impl CloneToUninit for SignalAuthenticity

clone_to_uninit

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

impl Into for SignalAuthenticity

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 SignalAuthenticity

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for SignalAuthenticity

Error

try_into

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

impl TryFrom for SignalAuthenticity

Error

try_from

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

impl Any for SignalAuthenticity

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for SignalAuthenticity

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

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

impl Same for SignalAuthenticity

Output

impl Clone for SignalAuthenticity

clone

fn clone(self: &Self) -> SignalAuthenticity

impl Debug for SignalAuthenticity

impl PartialEq for SignalAuthenticity

eq

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

impl Serialize for SignalAuthenticity

serialize

fn serialize( self: &Self, __serializer: __S ) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>

impl Deserialize for SignalAuthenticity

deserialize

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

impl RunxSchema for SignalAuthenticity

json_schema

fn json_schema() -> ::serde_json::Value

impl Send for SignalAuthenticity

impl Sync for SignalAuthenticity

impl Freeze for SignalAuthenticity

impl UnsafeUnpin for SignalAuthenticity

impl Unpin for SignalAuthenticity

impl UnwindSafe for SignalAuthenticity

impl RefUnwindSafe for SignalAuthenticity

impl DeserializeOwned for SignalAuthenticity

impl StructuralPartialEq for SignalAuthenticity

impl Eq for SignalAuthenticity

Signal §

pub struct runx_contracts::signal::Signal { /* ... */ }

Trait Implementations §

impl Borrow for Signal

borrow

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

impl BorrowMut for Signal

borrow_mut

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

impl CloneToUninit for Signal

clone_to_uninit

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

impl Into for Signal

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 Signal

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for Signal

Error

try_into

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

impl TryFrom for Signal

Error

try_from

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

impl Any for Signal

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for Signal

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

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

impl Same for Signal

Output

impl Clone for Signal

clone

fn clone(self: &Self) -> Signal

impl Debug for Signal

impl PartialEq for Signal

eq

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

impl Serialize for Signal

serialize

fn serialize( self: &Self, __serializer: __S ) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>

impl Deserialize for Signal

deserialize

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

impl RunxSchema for Signal

json_schema

fn json_schema() -> ::serde_json::Value

impl Send for Signal

impl Sync for Signal

impl Freeze for Signal

impl UnsafeUnpin for Signal

impl Unpin for Signal

impl UnwindSafe for Signal

impl RefUnwindSafe for Signal

impl DeserializeOwned for Signal

impl StructuralPartialEq for Signal

Enums §

SignalSchema §

pub enum runx_contracts::signal::SignalSchema { /* ... */ }

Trait Implementations §

impl Borrow for SignalSchema

borrow

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

impl BorrowMut for SignalSchema

borrow_mut

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

impl CloneToUninit for SignalSchema

clone_to_uninit

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

impl Into for SignalSchema

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 SignalSchema

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for SignalSchema

Error

try_into

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

impl TryFrom for SignalSchema

Error

try_from

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

impl Any for SignalSchema

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for SignalSchema

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

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

impl Same for SignalSchema

Output

impl Clone for SignalSchema

clone

fn clone(self: &Self) -> SignalSchema

impl Debug for SignalSchema

impl PartialEq for SignalSchema

eq

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

impl Serialize for SignalSchema

serialize

fn serialize( self: &Self, __serializer: __S ) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>

impl Deserialize for SignalSchema

deserialize

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

impl RunxSchema for SignalSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl Send for SignalSchema

impl Sync for SignalSchema

impl Freeze for SignalSchema

impl UnsafeUnpin for SignalSchema

impl Unpin for SignalSchema

impl UnwindSafe for SignalSchema

impl RefUnwindSafe for SignalSchema

impl DeserializeOwned for SignalSchema

impl StructuralPartialEq for SignalSchema

impl Eq for SignalSchema

SignalTrustLevel §

pub enum runx_contracts::signal::SignalTrustLevel { /* ... */ }

Trait Implementations §

impl Borrow for SignalTrustLevel

borrow

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

impl BorrowMut for SignalTrustLevel

borrow_mut

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

impl CloneToUninit for SignalTrustLevel

clone_to_uninit

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

impl Into for SignalTrustLevel

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 SignalTrustLevel

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for SignalTrustLevel

Error

try_into

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

impl TryFrom for SignalTrustLevel

Error

try_from

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

impl Any for SignalTrustLevel

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for SignalTrustLevel

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

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

impl Same for SignalTrustLevel

Output

impl Clone for SignalTrustLevel

clone

fn clone(self: &Self) -> SignalTrustLevel

impl Debug for SignalTrustLevel

impl PartialEq for SignalTrustLevel

eq

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

impl Serialize for SignalTrustLevel

serialize

fn serialize( self: &Self, __serializer: __S ) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>

impl Deserialize for SignalTrustLevel

deserialize

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

impl RunxSchema for SignalTrustLevel

json_schema

fn json_schema() -> ::serde_json::Value

impl Send for SignalTrustLevel

impl Sync for SignalTrustLevel

impl Freeze for SignalTrustLevel

impl UnsafeUnpin for SignalTrustLevel

impl Unpin for SignalTrustLevel

impl UnwindSafe for SignalTrustLevel

impl RefUnwindSafe for SignalTrustLevel

impl DeserializeOwned for SignalTrustLevel

impl StructuralPartialEq for SignalTrustLevel

impl Eq for SignalTrustLevel

Constants §

SIGNAL_SCHEMA §

pub const runx_contracts::signal::SIGNAL_SCHEMA: &str = "runx.signal.v1";