pub fn encode(value: &str) -> StringExpand description
Encodes a value for a header that admits the Base64 sentinel.
Plain when every character is visible ASCII or an inner space or tab;
otherwise — and always when the plain text would itself look like the
sentinel — =?base64?{standard Base64 of the UTF-8}?=.