pub fn err<'a, 'b>(
        chain: ReadableChain<'a, 'b>,
        status: u32,
        latency_bytes: u32,
    ) -> Result<(), Error> {
        // Since error paths may not read the full request, use `from_incomplete_readable`.
        let chain = WritableChain::from_incomplete_readable(chain)?;
        reply_with_code(chain, status, latency_bytes)
    }
/// Writes an txq error response using the given status code.
/// Returns an error only if the virtqueue connection is broken.
Writes an txq error response using the given status code.
Returns an error only if the virtqueue connection is broken.
Writes an txq error response using the given status code . Returns an error only if the virtqueue connection is broken .
pub fn err<'a, 'b>(
        chain: ReadableChain<'a, 'b>,
        status: u32,
        latency_bytes: u32,
    ) -> Result<(), Error> {
        // Since error paths may not read the full request, use `from_incomplete_readable`.
        let chain = WritableChain::from_incomplete_readable(chain)?;
        reply_with_code(chain, status, latency_bytes)
    }
pub fn err < ' a , ' b > ( chain : ReadableChain < ' a , ' b > , status : u32 , latency_bytes : u32 , ) -> Result < ( ) , Error > { // Since error paths may not read the full request, use `from_incomplete_readable`. let chain = WritableChain :: from_incomplete_readable ( chain ) ? ; reply_with_code ( chain , status , latency_bytes ) }
Writes an txq error response using the given status code.
Writes an txq error response using the given status code .
chain
ReadableChain<'a, 'b>
status
u32
latency_bytes
u32
chain
ReadableChain<'a, 'b>
status
u32
latency_bytes
u32