1 2 3 4 5 6 7 8 9
// This is free and unencumbered software released into the public domain. impl<'r> rocket::request::FromParam<'r> for PublicKeyBytes { type Error = ParsePublicKeyError; fn from_param(input: &'r str) -> Result<Self, Self::Error> { Self::from_str(input) } }