pub struct AgentSubscription<'a> {
pub services: &'a LiminalConnectionServices,
pub connection: u64,
pub session: Option<&'a dyn LysSession>,
pub subject: &'a str,
pub schemas: &'a [SchemaId],
pub install: Option<InboxInstall>,
pub id: u64,
}Expand description
One subscription request with the connection’s verified identity.
Fields§
§services: &'a LiminalConnectionServicesThe server’s ordinary channel adapter.
connection: u64The connection process id.
session: Option<&'a dyn LysSession>The admitted pass session.
subject: &'a strThe exact listened subject.
schemas: &'a [SchemaId]Schemas the client accepts.
install: Option<InboxInstall>The connection’s installed inbox bounds and notifier.
id: u64A server-allocated subscription id.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for AgentSubscription<'a>
impl<'a> !UnwindSafe for AgentSubscription<'a>
impl<'a> Freeze for AgentSubscription<'a>
impl<'a> Send for AgentSubscription<'a>
impl<'a> Sync for AgentSubscription<'a>
impl<'a> Unpin for AgentSubscription<'a>
impl<'a> UnsafeUnpin for AgentSubscription<'a>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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