Skip to main content

Phase

Trait Phase 

Source
pub trait Phase:
    Sealed
    + Send
    + Sync
    + 'static {
    // Required method
    fn name() -> &'static str;
}
Expand description

Phase of an attach lifecycle. Marker only — carries no data.

Required Methods§

Source

fn name() -> &'static str

Human-readable phase name, used in tracing + debug output.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§