MCPcopy Create free account
hub / github.com/bread-graphics/breadx / flush_write_buffer

Method flush_write_buffer

breadx/src/connection/buffered.rs:212–232  ·  view source on GitHub ↗

Flush the `WriteBuffer` to the underlying connection. This will flush the `WriteBuffer` to the underlying connection, and then clear the `WriteBuffer`. If the `WriteBuffer` is empty, this is a no-op. Returns the number of bytes written.

(&mut self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

send_slices_implMethod · 0.80
send_sliceMethod · 0.80
flushMethod · 0.80

Calls 4

is_emptyMethod · 0.80
send_sliceMethod · 0.45
send_slices_and_fdsMethod · 0.45
flushMethod · 0.45

Tested by

no test coverage detected