pub trait PushUserId<T> {
// Required method
fn push_user_id(self, value: T) -> Self;
}Expand description
Artificial trait implemented for AMQPProperties to allow conveniently
inserting the user ID, coercing it from various types.
Required Methods§
Sourcefn push_user_id(self, value: T) -> Self
fn push_user_id(self, value: T) -> Self
Inserts the user ID into these AMQPProperties, if it is can be
coerced from type T.
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.
Implementations on Foreign Types§
Source§impl<T> PushUserId<T> for AMQPPropertieswhere
ShortString: Morph<T>,
Implements PushUserId for every type T for which the underlying
ShortString implements Morph.
impl<T> PushUserId<T> for AMQPPropertieswhere
ShortString: Morph<T>,
Implements PushUserId for every type T for which the underlying
ShortString implements Morph.