pub struct RyuRelaySource;Expand description
RyuRelay — the managed push relay (the default). Core opens an outbound
SSE subscription to apps/server; Composio POSTs to a public ingress URL and
the server fans the payload out over that stream, which Core dispatches
in-process. The register + SSE-client loop live in [super::ryu_relay]; this
source delegates to them.
Implementations§
Trait Implementations§
Source§impl Clone for RyuRelaySource
impl Clone for RyuRelaySource
Source§fn clone(&self) -> RyuRelaySource
fn clone(&self) -> RyuRelaySource
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 moreSource§impl Debug for RyuRelaySource
impl Debug for RyuRelaySource
Source§impl Default for RyuRelaySource
impl Default for RyuRelaySource
Source§fn default() -> RyuRelaySource
fn default() -> RyuRelaySource
Returns the “default value” for a type. Read more
Source§impl WebhookIngress for RyuRelaySource
impl WebhookIngress for RyuRelaySource
Source§fn kind(&self) -> IngressKind
fn kind(&self) -> IngressKind
Which backend this is.
Source§async fn start(&self) -> Result<()>
async fn start(&self) -> Result<()>
Start (or adopt) the backend so webhooks can arrive. May be a no-op (the
OwnRelay case) or error gracefully when the backing infra is absent.
Source§async fn public_url(&self) -> Result<String>
async fn public_url(&self) -> Result<String>
The public URL Composio should POST to (ends in
WEBHOOK_PATH).Auto Trait Implementations§
impl Freeze for RyuRelaySource
impl RefUnwindSafe for RyuRelaySource
impl Send for RyuRelaySource
impl Sync for RyuRelaySource
impl Unpin for RyuRelaySource
impl UnsafeUnpin for RyuRelaySource
impl UnwindSafe for RyuRelaySource
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