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
Source§fn clone(&self) -> NotifyTarget
fn clone(&self) -> NotifyTarget
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 !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