[][src]Struct exonum::runtime::CallSite

#[non_exhaustive]pub struct CallSite {
    pub instance_id: InstanceId,
    pub call_type: CallType,
}

Site of a call where an ExecutionError may occur.

Note that an error may occur in the runtime code (including the code glue provided by the runtime) or in the service code, depending on the kind of the error.

Fields (Non-exhaustive)

Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
instance_id: InstanceId

ID of the service instance handling the call.

call_type: CallType

Type of a call.

Trait Implementations

impl BinaryValue for CallSite[src]

impl Clone for CallSite[src]

impl Debug for CallSite[src]

impl<'de> Deserialize<'de> for CallSite[src]

impl Display for CallSite[src]

impl PartialEq<CallSite> for CallSite[src]

impl ProtobufConvert for CallSite[src]

type ProtoStruct = CallSite

Type generated from the Protobuf definition.

impl Serialize for CallSite[src]

impl StructuralPartialEq for CallSite[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

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> ToString for T where
    T: Display + ?Sized
[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<V, T> VZip<V> for T where
    V: MultiLane<T>,