Claim

Trait Claim 

Source
pub trait Claim:
    EvaluatedTerm<Self::PT>
    + Debug
    + Comparable
    + PartialEq {
    type PT: ProtocolTypes;

    // Required methods
    fn agent_name(&self) -> AgentName;
    fn id(&self) -> TypeShape<Self::PT>;
    fn inner(&self) -> Box<dyn EvaluatedTerm<Self::PT>>;
    fn set_step(&mut self, step: Option<StepNumber>);
    fn get_step(&self) -> Option<StepNumber>;
}

Required Associated Types§

Required Methods§

Source

fn agent_name(&self) -> AgentName

Source

fn id(&self) -> TypeShape<Self::PT>

Source

fn inner(&self) -> Box<dyn EvaluatedTerm<Self::PT>>

Source

fn set_step(&mut self, step: Option<StepNumber>)

Source

fn get_step(&self) -> Option<StepNumber>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§