pub struct Established<R> {
pub transport: BoxTransport,
pub codec: Arc<dyn EnvelopeCodec>,
pub ids: IdRange,
pub ready: R,
pub limits: ClientLimits,
}Expand description
Successfully established transport and immutable protocol metadata.
Fields§
§transport: BoxTransportExclusive byte transport, including any unread prefetched bytes.
codec: Arc<dyn EnvelopeCodec>Envelope codec selected by protocol setup.
ids: IdRangeNegotiated usable correlation IDs.
ready: RProtocol-specific welcome/ready metadata.
limits: ClientLimitsFinal connection limits, including peer-negotiated ceilings.
Auto Trait Implementations§
impl<R> !RefUnwindSafe for Established<R>
impl<R> !Sync for Established<R>
impl<R> !UnwindSafe for Established<R>
impl<R> Freeze for Established<R>where
R: Freeze,
impl<R> Send for Established<R>where
R: Send,
impl<R> Unpin for Established<R>where
R: Unpin,
impl<R> UnsafeUnpin for Established<R>where
R: UnsafeUnpin,
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