Skip to main content

provider_name

Function provider_name 

Source
pub fn provider_name() -> &'static str
Expand description

Which clipboard provider was chosen, for a log line.

A name rather than a log call, because typ-buffer sits below typ-app and cannot reach its logger. That is the right direction for the dependency and arguably the right direction for the decision too — the library reports what it did and the application decides whether anyone is told.

This is the single most useful line in the log when somebody reports that copy does not work: the answer is almost always that detection picked a provider whose binary is missing, or None.