Expand description
ara-com — Core traits and async abstractions for Adaptive AUTOSAR communication in Rust.
This crate defines the vocabulary types and async abstractions that all
transport backends implement. It has zero transport dependencies; it is
the stable API surface that user-generated code (from cargo-arxml) depends on.
§Module overview
| Module | Contents |
|---|---|
types | Newtype wrappers for SOME/IP / AUTOSAR identifiers |
error | Unified AraComError type |
transport | Transport backend trait + serialization traits |
service | ServiceDefinition marker trait + ServiceHandle |
method | MethodConfig + MethodResult |
event | SubscriptionState, EventConfig, EventStream |
field | FieldConfig + getter/setter/notifier traits |
proxy | ProxyBase + Proxy trait |
skeleton | SkeletonBase + Skeleton trait |
Re-exports§
pub use error::AraComError;pub use event::EventConfig;pub use event::EventStream;pub use event::SubscriptionState;pub use field::FieldConfig;pub use method::MethodConfig;pub use method::MethodResult;pub use proxy::Proxy;pub use proxy::ProxyBase;pub use service::AvailabilityHandler;pub use service::ServiceDefinition;pub use service::ServiceHandle;pub use service::ServiceState;pub use skeleton::Skeleton;pub use skeleton::SkeletonBase;pub use transport::AraDeserialize;pub use transport::AraSerialize;pub use transport::MessageHeader;pub use transport::MessageType;pub use transport::ReturnCode;pub use transport::Transport;pub use types::EventGroupId;pub use types::EventId;pub use types::InstanceId;pub use types::MajorVersion;pub use types::MethodId;pub use types::MinorVersion;pub use types::ServiceId;pub use types::ServiceInstanceId;