pub struct WasiTlsCtxView<'a> {
pub table: &'a mut ResourceTable,
pub ctx: &'a mut WasiTlsCtx,
}Expand description
View into WasiTlsCtx implementation and ResourceTable.
Fields§
§table: &'a mut ResourceTableMutable reference to table used to manage resources.
ctx: &'a mut WasiTlsCtxMutable reference to the WASI TLS context.
Trait Implementations§
impl<'a> Host for WasiTlsCtxView<'a>
impl<'a> Host for WasiTlsCtxView<'a>
impl<'a> Host for WasiTlsCtxView<'a>
Source§impl<'a> HostClientConnection for WasiTlsCtxView<'a>
impl<'a> HostClientConnection for WasiTlsCtxView<'a>
fn close_output(&mut self, this: Resource<HostClientConnection>) -> Result<()>
fn drop(&mut self, this: Resource<HostClientConnection>) -> Result<()>
Source§impl<'a> HostClientHandshake for WasiTlsCtxView<'a>
impl<'a> HostClientHandshake for WasiTlsCtxView<'a>
fn new( &mut self, server_name: String, input: Resource<DynInputStream>, output: Resource<DynOutputStream>, ) -> Result<Resource<HostClientHandshake>>
fn finish( &mut self, this: Resource<HostClientHandshake>, ) -> Result<Resource<HostFutureClientStreams>>
fn drop(&mut self, this: Resource<HostClientHandshake>) -> Result<()>
Source§impl<'a> HostConnector for WasiTlsCtxView<'a>
impl<'a> HostConnector for WasiTlsCtxView<'a>
Source§impl<'a> HostError for WasiTlsCtxView<'a>
impl<'a> HostError for WasiTlsCtxView<'a>
Source§impl<'a> HostFutureClientStreams for WasiTlsCtxView<'a>
impl<'a> HostFutureClientStreams for WasiTlsCtxView<'a>
fn subscribe( &mut self, this: Resource<HostFutureClientStreams>, ) -> Result<Resource<DynPollable>>
fn get( &mut self, this: Resource<HostFutureClientStreams>, ) -> Result<Option<Result<Result<(Resource<HostClientConnection>, Resource<DynInputStream>, Resource<DynOutputStream>), Resource<IoError>>, ()>>>
fn drop(&mut self, this: Resource<HostFutureClientStreams>) -> Result<()>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for WasiTlsCtxView<'a>
impl<'a> !Sync for WasiTlsCtxView<'a>
impl<'a> !UnwindSafe for WasiTlsCtxView<'a>
impl<'a> Freeze for WasiTlsCtxView<'a>
impl<'a> Send for WasiTlsCtxView<'a>
impl<'a> Unpin for WasiTlsCtxView<'a>
impl<'a> UnsafeUnpin for WasiTlsCtxView<'a>
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
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more