Skip to main content

SENTINEL_MOD

Constant SENTINEL_MOD 

Source
pub const SENTINEL_MOD: &str = "__buffa";
Expand description

The single reserved module name under which all ancillary generated types (views, oneof enums, extensions, register_types) live.

See DESIGN.md → “Generated code layout” for the full layout. The name is checked against proto package segments and message-module names by validate_file; a collision is a hard error.