pub enum NotifyTarget {
Shared(Arc<UpstreamPeerRegistry>),
Session(UpstreamPeerSlot),
}Expand description
How backend notifications are delivered to upstream Streamable HTTP sessions.
Variants§
Shared backend: fan-out list-changed / logging; route progress/task.
Session(UpstreamPeerSlot)
Per-session backend: deliver only to this session’s upstream peer.
Trait Implementations§
Source§impl Clone for NotifyTarget
impl Clone for NotifyTarget
Auto Trait Implementations§
impl !RefUnwindSafe for NotifyTarget
impl !UnwindSafe for NotifyTarget
impl Freeze for NotifyTarget
impl Send for NotifyTarget
impl Sync for NotifyTarget
impl Unpin for NotifyTarget
impl UnsafeUnpin for NotifyTarget
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