pub struct WireBridgeBundle<TOutbound: Clone + 'static, TInbound: Clone + 'static> {
pub command: Node<WireBridgeCommand<TOutbound>>,
pub outbound: Node<WireBridgeEnvelope<TOutbound>>,
pub inbound: WireBridgeInbound<TInbound>,
pub events: Node<WireBridgeEvent<TOutbound, TInbound>>,
pub acks: Node<WireBridgeAck<TInbound>>,
pub nacks: Node<WireBridgeNack<TInbound>>,
pub status: Node<WireBridgeStatus>,
pub errors: Node<String>,
pub cursor: Node<u64>,
pub attempts: Node<WireBridgeAttempt>,
/* private fields */
}Expand description
WireBridgeBundle data container.
Fields§
§command: Node<WireBridgeCommand<TOutbound>>command field for command.
outbound: Node<WireBridgeEnvelope<TOutbound>>outbound field for outbound.
inbound: WireBridgeInbound<TInbound>inbound field for inbound.
events: Node<WireBridgeEvent<TOutbound, TInbound>>events field for events.
acks: Node<WireBridgeAck<TInbound>>acks field for acks.
nacks: Node<WireBridgeNack<TInbound>>nacks field for nacks.
status: Node<WireBridgeStatus>status field for status.
errors: Node<String>errors field for errors.
cursor: Node<u64>cursor field for cursor.
attempts: Node<WireBridgeAttempt>attempts field for attempts.
Implementations§
Source§impl<TOutbound: Clone + 'static, TInbound: Clone + 'static> WireBridgeBundle<TOutbound, TInbound>
impl<TOutbound: Clone + 'static, TInbound: Clone + 'static> WireBridgeBundle<TOutbound, TInbound>
Sourcepub fn send(
&self,
payload: TOutbound,
idempotency_key: Option<String>,
request_id: Option<String>,
)
pub fn send( &self, payload: TOutbound, idempotency_key: Option<String>, request_id: Option<String>, )
Updates or reads send.
Sourcepub fn ack(
&self,
ack_for_seq: u64,
idempotency_key: Option<String>,
request_id: Option<String>,
)
pub fn ack( &self, ack_for_seq: u64, idempotency_key: Option<String>, request_id: Option<String>, )
Updates or reads ack.
Auto Trait Implementations§
impl<TOutbound, TInbound> Freeze for WireBridgeBundle<TOutbound, TInbound>
impl<TOutbound, TInbound> !RefUnwindSafe for WireBridgeBundle<TOutbound, TInbound>
impl<TOutbound, TInbound> !Send for WireBridgeBundle<TOutbound, TInbound>
impl<TOutbound, TInbound> !Sync for WireBridgeBundle<TOutbound, TInbound>
impl<TOutbound, TInbound> Unpin for WireBridgeBundle<TOutbound, TInbound>
impl<TOutbound, TInbound> UnsafeUnpin for WireBridgeBundle<TOutbound, TInbound>
impl<TOutbound, TInbound> !UnwindSafe for WireBridgeBundle<TOutbound, TInbound>
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