MCPcopy Create free account
hub / github.com/bytecodealliance/wstd / empty

Function empty

src/io/empty.rs:23–25  ·  view source on GitHub ↗

Creates a value that is always at EOF for reads, and ignores all data written.

()

Source from the content-addressed store, hash-verified

21
22/// Creates a value that is always at EOF for reads, and ignores all data written.
23pub fn empty() -> Empty {
24 Empty {}
25}

Callers 10

fromMethod · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
http_timeoutFunction · 0.85
mainFunction · 0.85
http_not_foundFunction · 0.85
http_not_foundFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected