pub enum InitialMessages {
Buffer(ReceiveOptions),
DiscardUnmatched,
}Expand description
Initial inbox policy between session startup and application takeover.
Variants§
Buffer(ReceiveOptions)
Create a bounded inbox that the application can take or convert to a callback subscription.
Tuple Fields
§
0: ReceiveOptionsInbox limits, overflow policy, and control-frame settings.
DiscardUnmatched
Do not create an inbox; unmatched messages without subscribers are discarded.
Trait Implementations§
Source§impl Clone for InitialMessages
impl Clone for InitialMessages
Source§impl Debug for InitialMessages
impl Debug for InitialMessages
Auto Trait Implementations§
impl Freeze for InitialMessages
impl RefUnwindSafe for InitialMessages
impl Send for InitialMessages
impl Sync for InitialMessages
impl Unpin for InitialMessages
impl UnsafeUnpin for InitialMessages
impl UnwindSafe for InitialMessages
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