pub fn success<'a, 'b>(chain: ReadableChain<'a, 'b>, latency_bytes: u32) -> Result<(), Error> {
        // Use `from_readable`, not `from_incomplete_readable`, because we should always
        // read the entire buffer on successful requests.
        let chain = WritableChain::from_readable(chain)?;
        reply_with_code(chain, wire::VIRTIO_SND_S_OK, latency_bytes)
    }
/// Writes a successful txq response header.
/// Returns an error only if the virtqueue connection is broken.
Writes a successful txq response header.
Returns an error only if the virtqueue connection is broken.
Writes a successful txq response header . Returns an error only if the virtqueue connection is broken .
pub fn success<'a, 'b>(chain: ReadableChain<'a, 'b>, latency_bytes: u32) -> Result<(), Error> {
        // Use `from_readable`, not `from_incomplete_readable`, because we should always
        // read the entire buffer on successful requests.
        let chain = WritableChain::from_readable(chain)?;
        reply_with_code(chain, wire::VIRTIO_SND_S_OK, latency_bytes)
    }
pub fn success < ' a , ' b > ( chain : ReadableChain < ' a , ' b > , latency_bytes : u32 ) -> Result < ( ) , Error > { // Use `from_readable`, not `from_incomplete_readable`, because we should always // read the entire buffer on successful requests. let chain = WritableChain :: from_readable ( chain ) ? ; reply_with_code ( chain , wire :: VIRTIO_SND_S_OK , latency_bytes ) }
Writes a successful txq response header.
Writes a successful txq response header .
chain
ReadableChain<'a, 'b>
latency_bytes
u32
chain
ReadableChain<'a, 'b>
latency_bytes
u32