pub struct ApexLinuxPartition;
Expand description
Static functions for within a partition
Implementations§
Source§impl ApexLinuxPartition
impl ApexLinuxPartition
pub fn get_partition_name() -> String
Trait Implementations§
Source§impl ApexErrorP4 for ApexLinuxPartition
impl ApexErrorP4 for ApexLinuxPartition
Source§fn report_application_message(
message: &[ApexByte],
) -> Result<(), ErrorReturnCode>
fn report_application_message( message: &[ApexByte], ) -> Result<(), ErrorReturnCode>
APEX653P4 3.8.2.1 report message to health monitor Read more
Source§fn raise_application_error(
error_code: ErrorCode,
message: &[ApexByte],
) -> Result<(), ErrorReturnCode>
fn raise_application_error( error_code: ErrorCode, message: &[ApexByte], ) -> Result<(), ErrorReturnCode>
APEX653P4 3.8.2.4 trigger error handler process Read more
Source§impl ApexPartitionP4 for ApexLinuxPartition
impl ApexPartitionP4 for ApexLinuxPartition
fn get_partition_status() -> ApexPartitionStatus
fn set_partition_mode( operating_mode: OperatingMode, ) -> Result<(), ErrorReturnCode>
Source§impl ApexProcessP4 for ApexLinuxPartition
impl ApexProcessP4 for ApexLinuxPartition
Source§fn create_process(
attributes: &ApexProcessAttribute,
) -> Result<ProcessId, ErrorReturnCode>
fn create_process( attributes: &ApexProcessAttribute, ) -> Result<ProcessId, ErrorReturnCode>
ARINC653P4 3.3.2.3 Read more
fn start(process_id: ProcessId) -> Result<(), ErrorReturnCode>
Source§impl ApexQueuingPortP4 for ApexLinuxPartition
impl ApexQueuingPortP4 for ApexLinuxPartition
fn create_queuing_port( queuing_port_name: QueuingPortName, max_message_size: MessageSize, max_nb_message: MessageRange, port_direction: PortDirection, _queuing_discipline: QueuingDiscipline, ) -> Result<QueuingPortId, ErrorReturnCode>
fn send_queuing_message( queuing_port_id: QueuingPortId, message: &[ApexByte], _time_out: ApexSystemTime, ) -> Result<(), ErrorReturnCode>
Source§unsafe fn receive_queuing_message(
queuing_port_id: QueuingPortId,
_time_out: ApexSystemTime,
message: &mut [ApexByte],
) -> Result<(MessageSize, QueueOverflow), ErrorReturnCode>
unsafe fn receive_queuing_message( queuing_port_id: QueuingPortId, _time_out: ApexSystemTime, message: &mut [ApexByte], ) -> Result<(MessageSize, QueueOverflow), ErrorReturnCode>
Safety Read more
fn get_queuing_port_status( queuing_port_id: QueuingPortId, ) -> Result<QueuingPortStatus, ErrorReturnCode>
fn clear_queuing_port( queuing_port_id: QueuingPortId, ) -> Result<(), ErrorReturnCode>
Source§impl ApexSamplingPortP4 for ApexLinuxPartition
impl ApexSamplingPortP4 for ApexLinuxPartition
fn create_sampling_port( sampling_port_name: SamplingPortName, _max_message_size: MessageSize, port_direction: PortDirection, refresh_period: ApexSystemTime, ) -> Result<SamplingPortId, ErrorReturnCode>
fn write_sampling_message( sampling_port_id: SamplingPortId, message: &[ApexByte], ) -> Result<(), ErrorReturnCode>
Source§unsafe fn read_sampling_message(
sampling_port_id: SamplingPortId,
message: &mut [ApexByte],
) -> Result<(Validity, MessageSize), ErrorReturnCode>
unsafe fn read_sampling_message( sampling_port_id: SamplingPortId, message: &mut [ApexByte], ) -> Result<(Validity, MessageSize), ErrorReturnCode>
Safety Read more
Source§impl ApexTimeP4 for ApexLinuxPartition
impl ApexTimeP4 for ApexLinuxPartition
Source§fn periodic_wait() -> Result<(), ErrorReturnCode>
fn periodic_wait() -> Result<(), ErrorReturnCode>
APEX653P4 3.4.2.2 wait until next release Read more
Source§fn get_time() -> ApexSystemTime
fn get_time() -> ApexSystemTime
APEX653P4 3.4.2.3
Source§impl Clone for ApexLinuxPartition
impl Clone for ApexLinuxPartition
Source§fn clone(&self) -> ApexLinuxPartition
fn clone(&self) -> ApexLinuxPartition
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ApexLinuxPartition
impl Debug for ApexLinuxPartition
impl Copy for ApexLinuxPartition
Auto Trait Implementations§
impl Freeze for ApexLinuxPartition
impl RefUnwindSafe for ApexLinuxPartition
impl Send for ApexLinuxPartition
impl Sync for ApexLinuxPartition
impl Unpin for ApexLinuxPartition
impl UnwindSafe for ApexLinuxPartition
Blanket Implementations§
Source§impl<E> ApexErrorP4Ext for Ewhere
E: ApexErrorP4,
impl<E> ApexErrorP4Ext for Ewhere
E: ApexErrorP4,
Source§impl<Q> ApexQueuingPortP4Ext for Qwhere
Q: ApexQueuingPortP4,
impl<Q> ApexQueuingPortP4Ext for Qwhere
Q: ApexQueuingPortP4,
fn queueing_port_send_unchecked( id: i64, buffer: &[u8], timeout: SystemTime, ) -> Result<(), Error>
Source§impl<S> ApexSamplingPortP4Ext for Swhere
S: ApexSamplingPortP4,
impl<S> ApexSamplingPortP4Ext for Swhere
S: ApexSamplingPortP4,
Source§impl<T> ApexTimeP4Ext for Twhere
T: ApexTimeP4,
impl<T> ApexTimeP4Ext for Twhere
T: ApexTimeP4,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more