Module io_lifetimes::views

source ·
Expand description

Typed views using temporary objects.

This module defines the return types for AsFilelike::as_filelike_view and AsSocketlike::as_socketlike_view.

Structs

A non-owning view of a resource which dereferences to a &Target or &mut Target. These are returned by AsFilelike::as_filelike_view.
A non-owning view of a resource which dereferences to a &Target or &mut Target. These are returned by AsSocketlike::as_socketlike_view.

Traits

Declare that a type is safe to use in a FilelikeView.
Declare that a type is safe to use in a SocketlikeView.