pub trait ToString {
// Required method
fn to_string(&self) -> String;
}
Expand description
Required Methods§
Implementors§
impl ToString for Direction
impl ToString for Originator
impl ToString for PayloadType
impl ToString for QueryRecipient
impl ToString for Status
impl ToString for Gateway
impl ToString for Msisdn
impl<T> ToString for T
§Panics
In this implementation, the to_string
method panics
if the Display
implementation returns an error.
This indicates an incorrect Display
implementation
since fmt::Write for String
never returns an error itself.