Skip to main content

parse_compound_reply

Function parse_compound_reply 

Source
pub fn parse_compound_reply(data: &[u8]) -> Result<CompoundReply, NfsError>
Expand description

Parse a compound reply, extracting status codes and the OPEN stateid.

This is a minimal parser – it extracts enough to determine success/failure and to get the stateid from OPEN (needed for WRITE, SETATTR, CLOSE).