MCPcopy Create free account
hub / github.com/Rustixir/tokio_sky / fill_buffer

Method fill_buffer

examples/complex(2 layer).rs:77–83  ·  view source on GitHub ↗
(&mut self, buffer_size: usize)

Source from the content-addressed store, hash-verified

75
76
77 async fn fill_buffer(&mut self, buffer_size: usize) -> Result<VecDeque<usize>, Terminate> {
78
79 Ok((0..buffer_size)
80 .into_iter()
81 .map(|i| i )
82 .collect::<VecDeque<usize>>())
83 }
84}
85
86

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected