Skip to main content

ObjectSetupChange

Trait ObjectSetupChange 

Source
pub trait ObjectSetupChange {
    // Required methods
    fn status(&self) -> Option<ObjectStatus>;
    fn has_internal_changes(&self) -> bool;
    fn has_external_changes(&self) -> bool;

    // Provided method
    fn is_up_to_date(&self) -> bool { ... }
}

Required Methods§

Source

fn status(&self) -> Option<ObjectStatus>

Source

fn has_internal_changes(&self) -> bool

Returns true if it has internal changes, i.e. changes that don’t need user intervention.

Source

fn has_external_changes(&self) -> bool

Returns true if it has external changes, i.e. changes that should notify users.

Provided Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§