fuel_tx::field

Trait UpgradePurpose

Source
pub trait UpgradePurpose {
    // Required methods
    fn upgrade_purpose(&self) -> &UpgradePurposeType;
    fn upgrade_purpose_mut(&mut self) -> &mut UpgradePurposeType;
    fn upgrade_purpose_offset_static() -> usize;

    // Provided method
    fn upgrade_purpose_offset(&self) -> usize { ... }
}

Required Methods§

Provided Methods§

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§