pub struct ValkeyStreamIngress { /* private fields */ }Implementations§
Source§impl ValkeyStreamIngress
impl ValkeyStreamIngress
pub fn new(config: ValkeyStreamConfig) -> Result<Self, IngressError>
pub async fn publish( &self, event: &IngressEventEnvelope, ) -> Result<String, IngressError>
pub async fn ensure_group(&self) -> Result<(), IngressError>
pub async fn run_once(&self, engine: &AgentEngine) -> Result<bool, IngressError>
Trait Implementations§
Source§impl Clone for ValkeyStreamIngress
impl Clone for ValkeyStreamIngress
Source§fn clone(&self) -> ValkeyStreamIngress
fn clone(&self) -> ValkeyStreamIngress
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ValkeyStreamIngress
impl !RefUnwindSafe for ValkeyStreamIngress
impl Send for ValkeyStreamIngress
impl Sync for ValkeyStreamIngress
impl Unpin for ValkeyStreamIngress
impl UnsafeUnpin for ValkeyStreamIngress
impl !UnwindSafe for ValkeyStreamIngress
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