Struct io_lifetimes::views::FilelikeView [−][src]
pub struct FilelikeView<'filelike, Target: FromFilelike + IntoFilelike> { /* fields omitted */ }Expand description
A non-owning view of a resource which dereferences to a &Target or
&mut Target. These are returned by AsFilelike::as_filelike_view.
Implementations
Construct a temporary Target from raw and wrap it in a FilelikeView
object.
Safety
raw must be a valid raw filelike referencing a resource that outlives
the resulting view.