Skip to main content

FormatIdentityPayload

Trait FormatIdentityPayload 

Source
pub trait FormatIdentityPayload: Sealed {
    // Required method
    fn format(&self) -> &str;
}
Expand description

A classified payload whose format namespace is intrinsic to the payload.

This trait is sealed. The supported payloads are DialectId, DialectMatch, and DialectLayers.

Required Methods§

Source

fn format(&self) -> &str

Returns the payload’s authoritative format namespace.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§