pub struct TlsBuf<D>where
D: ResourceDialect,{ /* private fields */ }Expand description
Thread-local buffer for encoding and decoding FIDL transactions. Needed to
implement ResourceDialect.
Trait Implementations§
Auto Trait Implementations§
impl<D> Freeze for TlsBuf<D>where
Vec<<<D as ResourceDialect>::ProxyChannel as ProxyChannelFor<D>>::HandleDisposition>: Freeze,
Vec<<<D as ResourceDialect>::Handle as HandleFor<D>>::HandleInfo>: Freeze,
impl<D> RefUnwindSafe for TlsBuf<D>where
Vec<<<D as ResourceDialect>::ProxyChannel as ProxyChannelFor<D>>::HandleDisposition>: RefUnwindSafe,
Vec<<<D as ResourceDialect>::Handle as HandleFor<D>>::HandleInfo>: RefUnwindSafe,
impl<D> Send for TlsBuf<D>where
Vec<<<D as ResourceDialect>::ProxyChannel as ProxyChannelFor<D>>::HandleDisposition>: Send,
Vec<<<D as ResourceDialect>::Handle as HandleFor<D>>::HandleInfo>: Send,
impl<D> Sync for TlsBuf<D>where
Vec<<<D as ResourceDialect>::ProxyChannel as ProxyChannelFor<D>>::HandleDisposition>: Sync,
Vec<<<D as ResourceDialect>::Handle as HandleFor<D>>::HandleInfo>: Sync,
impl<D> Unpin for TlsBuf<D>where
Vec<<<D as ResourceDialect>::ProxyChannel as ProxyChannelFor<D>>::HandleDisposition>: Unpin,
Vec<<<D as ResourceDialect>::Handle as HandleFor<D>>::HandleInfo>: Unpin,
impl<D> UnsafeUnpin for TlsBuf<D>where
Vec<<<D as ResourceDialect>::ProxyChannel as ProxyChannelFor<D>>::HandleDisposition>: UnsafeUnpin,
Vec<<<D as ResourceDialect>::Handle as HandleFor<D>>::HandleInfo>: UnsafeUnpin,
impl<D> UnwindSafe for TlsBuf<D>where
Vec<<<D as ResourceDialect>::ProxyChannel as ProxyChannelFor<D>>::HandleDisposition>: UnwindSafe,
Vec<<<D as ResourceDialect>::Handle as HandleFor<D>>::HandleInfo>: UnwindSafe,
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