pub fn new(separator: char) -> Result<Self, InvalidSeparator> {
        if base64::in_alphabet(separator) {
            Err(InvalidSeparator(separator))
        } else {
            Ok(Self(separator))
        }
    }
/// Creates a new separator, checking to make sure it is valid.
///
/// A valid separator is a character that is not in the
/// base-64 url-safe alphabet.
Creates a new separator, checking to make sure it is valid.
A valid separator is a character that is not in the
base-64 url-safe alphabet.
Creates a new separator checking to make sure it is valid . A valid separator is a character that is not in the base - 64 url - safe alphabet .
pub fn new(separator: char) -> Result<Self, InvalidSeparator> {
        if base64::in_alphabet(separator) {
            Err(InvalidSeparator(separator))
        } else {
            Ok(Self(separator))
        }
    }
pub fn new ( separator : char ) -> Result < Self , InvalidSeparator > { if base64 :: in_alphabet ( separator ) { Err ( InvalidSeparator ( separator ) ) } else { Ok ( Self ( separator ) ) } }
Creates a new separator, checking to make sure it is valid.
Creates a new separator checking to make sure it is valid .
separator
char
separator
char