Function rama::username::parse_username_with_separator
pub fn parse_username_with_separator<P>(
ext: &mut Extensions,
parser: P,
username_ref: impl AsRef<str>,
separator: char,
) -> Result<String, OpaqueError>where
P: UsernameLabelParser,
<P as UsernameLabelParser>::Error: Into<Box<dyn Error + Send + Sync>>,
Expand description
Parse a username, extracting the username (first part)
and passing everything else to the UsernameLabelParser
.