Skip to main content

detect_memory_backend

Function
This function is defined in the presets module.
Detect memory backend from URL

Signature

def detect_memory_backend(url: &str) -> Option<&'static str>

Parameters

url
&str
required
No description available.

Returns

Returns
Option<&'static str>
The result of the operation.

Uses

  • starts_with

Source

View on GitHub

praisonai/src/presets.rs at line 100