Skip to main content

ObjectWriteAction

Trait ObjectWriteAction 

Source
pub trait ObjectWriteAction<T: DistributedObject>: WireValue {
    type Output: WireValue;

    const ID: u128;

    // Required method
    fn execute(self, state: &mut T) -> Result<Self::Output, ActionError>;
}

Required Associated Constants§

Source

const ID: u128

Required Associated Types§

Required Methods§

Source

fn execute(self, state: &mut T) -> Result<Self::Output, ActionError>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§