pub struct TrustedNegotiationContext { /* private fields */ }Expand description
Sealed host negotiation used by production composition. The underlying renderer capability struct remains frozen and publicly serializable for G1/G2 compatibility, but production G5 never trusts a caller-provided instance: it derives this token from the actual HostCapabilities.
Implementations§
Source§impl TrustedNegotiationContext
impl TrustedNegotiationContext
pub fn capabilities(&self) -> &NegotiatedCapabilities
pub fn host_identity(&self) -> &str
Trait Implementations§
Source§impl Clone for TrustedNegotiationContext
impl Clone for TrustedNegotiationContext
Source§fn clone(&self) -> TrustedNegotiationContext
fn clone(&self) -> TrustedNegotiationContext
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 TrustedNegotiationContext
impl RefUnwindSafe for TrustedNegotiationContext
impl Send for TrustedNegotiationContext
impl Sync for TrustedNegotiationContext
impl Unpin for TrustedNegotiationContext
impl UnsafeUnpin for TrustedNegotiationContext
impl UnwindSafe for TrustedNegotiationContext
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