pub fn new<T>(message: T) -> Self
    where
        T: ToString,
    {
        Self::InternalServerError(message.to_string())
    }
/// Convenience method to pass anything in that accepts a .to_string method.
Convenience method to pass anything in that accepts a .to_string method.
Convenience method to pass anything in that accepts a . to_string method .
pub fn new<T>(message: T) -> Self
    where
        T: ToString,
    {
        Self::InternalServerError(message.to_string())
    }
pub fn new < T > ( message : T ) -> Self where T : ToString , { Self :: InternalServerError ( message . to_string ( ) ) }
Convenience method to pass anything in that accepts a .to_string method.
Convenience method to pass anything in that accepts a . to_string method .
message
T
message
T