Skip to main content

Crate ara_com

Crate ara_com 

Source
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

ModuleContents
typesNewtype wrappers for SOME/IP / AUTOSAR identifiers
errorUnified AraComError type
transportTransport backend trait + serialization traits
serviceServiceDefinition marker trait + ServiceHandle
methodMethodConfig + MethodResult
eventSubscriptionState, EventConfig, EventStream
fieldFieldConfig + getter/setter/notifier traits
proxyProxyBase + Proxy trait
skeletonSkeletonBase + 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;

Modules§

error
Unified error type for all ara-com operations.
event
field
method
proxy
serialization
Standard-type impls for AraSerialize / AraDeserialize.
service
skeleton
transport
types
Newtype wrappers for SOME/IP and AUTOSAR identifiers.