pub struct EdgeMessageBuilder { /* private fields */ }Implementations§
Source§impl EdgeMessageBuilder
impl EdgeMessageBuilder
pub fn ack_kind(self, ack_kind: MessageAckExpectKind) -> Self
pub fn mode_durable(self, durability: MessageDurableConfig) -> Self
pub fn mode_online(self) -> Self
pub fn mode_push(self) -> Self
Sourcepub fn with_subject(self, subject: Subject) -> Self
pub fn with_subject(self, subject: Subject) -> Self
wrap a subject with this message
pub fn build(self) -> EdgeMessage
Auto Trait Implementations§
impl !Freeze for EdgeMessageBuilder
impl RefUnwindSafe for EdgeMessageBuilder
impl Send for EdgeMessageBuilder
impl Sync for EdgeMessageBuilder
impl Unpin for EdgeMessageBuilder
impl UnwindSafe for EdgeMessageBuilder
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