pub enum CompletionCode {
Success = 0,
Error = 1,
ErrorInvalidData = 2,
ErrorInvalidLength = 3,
ErrorNotReady = 4,
ErrorUnsupportedCmd = 5,
}
Expand description
This field is only present in Response messages. This field contains a value that indicates whether the response completed normally. If the command did not complete normally, the value can provide additional information regarding the error condition. The values for completion codes are specified in Table 13.
Variants§
Success = 0
The Request was accepted and completed normally
Error = 1
This is a generic failure message. (It should not be used when a more specific result code applies.)
ErrorInvalidData = 2
The packet payload contained invalid data or an illegal parameter value.
ErrorInvalidLength = 3
The message length was invalid. (The Message body was larger or smaller than expected for the particular request.)
ErrorNotReady = 4
The Receiver is in a transient state where it is not ready to receive the corresponding message
ErrorUnsupportedCmd = 5
The command field in the control type of the received message is unspecified or not supported on this endpoint. This completion code shall be returned for any unsupported command values received in MCTP control Request messages.