MCPcopy Create free account
hub / github.com/carllerche/syncbox / push

Method push

src/array_queue.rs:78–80  ·  view source on GitHub ↗

Adds the element `e` to the queue if possible. # Errors A call to `push` will fail if the queue is full; the provided element `value` is returned in the `Err` variant.

(&self, value: T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

offerMethod · 0.80
testFunction · 0.80

Calls 3

storeMethod · 0.80
loadMethod · 0.45
compare_and_swapMethod · 0.45

Tested by 2

testFunction · 0.64