Skip to main content

MessageConstraintsDynExt

Trait MessageConstraintsDynExt 

Source
pub trait MessageConstraintsDynExt {
    // Required method
    fn message_constraints_dynamic(&self) -> Option<DynamicMessage>;
}
Expand description

Extension trait for extracting the DynamicMessage form of message constraints.

Required Methods§

Source

fn message_constraints_dynamic(&self) -> Option<DynamicMessage>

Returns the raw DynamicMessage for the buf.validate.message extension.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl MessageConstraintsDynExt for MessageDescriptor

Implementors§