Struct epicbox::broker::stomp::subscription_builder::SubscriptionBuilder [−][src]
pub struct SubscriptionBuilder<'a, T: 'static> {
pub session: &'a mut Session<T>,
pub destination: String,
pub ack_mode: AckMode,
pub headers: HeaderList,
pub receipt_request: Option<ReceiptRequest>,
}Fields
session: &'a mut Session<T>destination: Stringack_mode: AckModeheaders: HeaderListreceipt_request: Option<ReceiptRequest>Implementations
pub fn with<O>(self, option_setter: O) -> SubscriptionBuilder<'a, T> where
O: OptionSetter<SubscriptionBuilder<'a, T>>,
Trait Implementations
impl<'a, T> OptionSetter<SubscriptionBuilder<'a, T>> for GenerateReceipt where
T: AsyncWrite + AsyncRead + Send + 'static,
impl<'a, T> OptionSetter<SubscriptionBuilder<'a, T>> for GenerateReceipt where
T: AsyncWrite + AsyncRead + Send + 'static,
Auto Trait Implementations
impl<'a, T> !RefUnwindSafe for SubscriptionBuilder<'a, T>
impl<'a, T> Send for SubscriptionBuilder<'a, T> where
T: Send,
impl<'a, T> !Sync for SubscriptionBuilder<'a, T>
impl<'a, T> Unpin for SubscriptionBuilder<'a, T>
impl<'a, T> !UnwindSafe for SubscriptionBuilder<'a, T>
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> SafeBorrow<T> for T where
T: ?Sized,
impl<T> SafeBorrow<T> for T where
T: ?Sized,
pub fn borrow_replacement(ptr: &T) -> &T
pub fn borrow_replacement(ptr: &T) -> &T
Given ptr, which was obtained from a prior call to Self::borrow(),
return a value with the same nominal lifetime which is guaranteed to
survive mutations to Self. Read more