Skip to main content

MEMORY_SOURCE_NAME

Constant MEMORY_SOURCE_NAME 

Source
pub const MEMORY_SOURCE_NAME: &str = "<memory>";
Expand description

The name a source built from content in memory carries when the caller supplies none. Format detection and diagnostics read it, so content whose name carries meaning goes through Source::from_memory instead.