//! # The Trusty IPC Library //! //! Implements IPC between Trusty userspace apps, the Trusty kernel, and the //! non-secure kernel (Android). //! //! This library is based around the [`Handle`] type, which is an open //! communication channel between a client and a service. This handle can send //! and receive messages which implement [`Serialize`] and [`Deserialize`], //! respectively. Receiving a message blocks until a message arrives or the //! handle is closed.
#![feature(allocator_api)]
#[allow(non_camel_case_types)] #[allow(unused)] mod sys { use peer_id::trusty_peer_id_kind_t;
include!(env!("BINDGEN_INC_FILE"));
}
mod err; mod handle; pubmod raw; mod serialization; mod service;
// Safety: // * Prefix - Guaranteed by C implementation/bindgen. // * No Padding - Guaranteed by C implementation. // * len Impl - Self has statically know size. // * Distinct KIND - Guaranteed by C implementation. // * KIND Range - Guaranteed by C implementation. unsafeimpl peer_id::TrustyPeerId for sys::trusty_peer_id_sequence_id { const KIND: peer_id::trusty_peer_id_kind_t = sys::TRUSTY_PEER_ID_KIND_SEQUENCE_ID;
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.