use core::{array::TryFromSliceError, num::TryFromIntError}; use tipc::TipcError; use trusty_std::alloc::AllocError; use trusty_sys::Error;
/// Errors that the HwWsk client and service may encounter. #[derive(Debug, Eq, PartialEq)] pubenum HwWskError { /// The requested command or specified parameter is not supported.
NotSupported, /// A generic error received by the client as a response from the service.
Generic, /// An invalid command or command parameter specified.
NotValid, /// An unexpected or unaccepted buffer or data length.
BadLen, /// An integer overflow error or bad cast.
OutOfBounds, /// An allocation failure that may be due to resource exhaustion.
AllocError, /// The client receives a response from the service that is invalid.
InvalidCmdResponse, /// A conversion from a slice to an array fails.
ConversionError, /// Some tipc error.
Tipc(TipcError), /// Some other system error.
System(Error),
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.