Struct pulsar_binary_protocol_spec::commands::subscribe_command::SubscribeCommand [−][src]
Implementations
impl SubscribeCommand
[src]
pub fn new(
topic: &str,
subscription: &str,
subscribe_type: SubscribeType
) -> Self
[src]
topic: &str,
subscription: &str,
subscribe_type: SubscribeType
) -> Self
pub fn set_consumer_id(&mut self, consumer_id: ConsumerId) -> &mut Self
[src]
pub fn get_consumer_id(&self) -> ConsumerId
[src]
pub fn set_request_id(&mut self, request_id: RequestId) -> &mut Self
[src]
pub fn get_request_id(&self) -> RequestId
[src]
pub fn set_consumer_name(&mut self, consumer_name: &str) -> &mut Self
[src]
pub fn append_metadata(&mut self, metadata: &[(&str, &str)]) -> &mut Self
[src]
pub fn clear_metadata(&mut self) -> &mut Self
[src]
Trait Implementations
impl Clone for SubscribeCommand
[src]
fn clone(&self) -> SubscribeCommand
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SubscribeCommand
[src]
impl From<&'_ SubscribeCommand> for Command
[src]
fn from(c: &SubscribeCommand) -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for SubscribeCommand
[src]
impl Send for SubscribeCommand
[src]
impl Sync for SubscribeCommand
[src]
impl Unpin for SubscribeCommand
[src]
impl UnwindSafe for SubscribeCommand
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,