pub trait CanSendContact<'p, 'f, 'l> {
// Required method
fn contact<P, F>(
&self,
phone_number: P,
first_name: F,
) -> SendContact<'p, 'f, 'l>
where P: Into<Cow<'p, str>>,
F: Into<Cow<'f, str>>;
}Expand description
Send phone contact.
Required Methods§
fn contact<P, F>( &self, phone_number: P, first_name: F, ) -> SendContact<'p, 'f, 'l>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.