[][src]Struct exonum_rust_runtime::MethodDescriptor

pub struct MethodDescriptor<'a> {
    pub interface_name: &'a str,
    pub name: &'a str,
    pub id: MethodId,
}

Descriptor of a method declared as a part of the service interface.

Fields

interface_name: &'a str

Name of the interface.

name: &'a str

Name of the method.

id: MethodId

Numerical ID of the method.

Methods

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

pub const fn new(interface_name: &'a str, name: &'a str, id: MethodId) -> Self[src]

Creates the descriptor based on provided properties.

Trait Implementations

impl<'a> Clone for MethodDescriptor<'a>[src]

impl<'a> Copy for MethodDescriptor<'a>[src]

impl<'a> Debug for MethodDescriptor<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for MethodDescriptor<'a>

impl<'a> Send for MethodDescriptor<'a>

impl<'a> Sync for MethodDescriptor<'a>

impl<'a> Unpin for MethodDescriptor<'a>

impl<'a> UnwindSafe for MethodDescriptor<'a>

Blanket Implementations

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

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

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

impl<T> Erased for T

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

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

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<V, T> VZip<V> for T where
    V: MultiLane<T>,