Struct ntex_amqp::ReceiverLinkBuilder
source · pub struct ReceiverLinkBuilder { /* private fields */ }
Implementations§
source§impl ReceiverLinkBuilder
impl ReceiverLinkBuilder
sourcepub fn max_message_size(self, size: u64) -> Self
pub fn max_message_size(self, size: u64) -> Self
Set attach frame max message size
sourcepub fn property<K, V>(self, key: K, value: Option<V>) -> Self
pub fn property<K, V>(self, key: K, value: Option<V>) -> Self
Set or reset a receive link property
sourcepub fn with_frame<F>(self, f: F) -> Self
pub fn with_frame<F>(self, f: F) -> Self
Modify attach frame
sourcepub async fn attach(self) -> Result<ReceiverLink, AmqpProtocolError>
pub async fn attach(self) -> Result<ReceiverLink, AmqpProtocolError>
Attach receiver link
Auto Trait Implementations§
impl Freeze for ReceiverLinkBuilder
impl !RefUnwindSafe for ReceiverLinkBuilder
impl !Send for ReceiverLinkBuilder
impl !Sync for ReceiverLinkBuilder
impl Unpin for ReceiverLinkBuilder
impl !UnwindSafe for ReceiverLinkBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more