Struct ApexLinuxPartition

Source
pub struct ApexLinuxPartition;
Expand description

Static functions for within a partition

Implementations§

Trait Implementations§

Source§

impl ApexErrorP4 for ApexLinuxPartition

Source§

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>

APEX653P4 3.8.2.4 trigger error handler process Read more
Source§

impl ApexPartitionP4 for ApexLinuxPartition

Source§

impl ApexProcessP4 for ApexLinuxPartition

Source§

impl ApexQueuingPortP4 for ApexLinuxPartition

Source§

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>

Source§

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>

Safety Read more
Source§

fn get_queuing_port_status( queuing_port_id: QueuingPortId, ) -> Result<QueuingPortStatus, ErrorReturnCode>

Source§

fn clear_queuing_port( queuing_port_id: QueuingPortId, ) -> Result<(), ErrorReturnCode>

Source§

impl ApexSamplingPortP4 for ApexLinuxPartition

Source§

fn create_sampling_port( sampling_port_name: SamplingPortName, _max_message_size: MessageSize, port_direction: PortDirection, refresh_period: ApexSystemTime, ) -> Result<SamplingPortId, ErrorReturnCode>

Source§

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>

Safety Read more
Source§

impl ApexTimeP4 for ApexLinuxPartition

Source§

fn periodic_wait() -> Result<(), ErrorReturnCode>

APEX653P4 3.4.2.2 wait until next release Read more
Source§

fn get_time() -> ApexSystemTime

APEX653P4 3.4.2.3
Source§

impl Clone for ApexLinuxPartition

Source§

fn clone(&self) -> ApexLinuxPartition

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ApexLinuxPartition

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for ApexLinuxPartition

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<E> ApexErrorP4Ext for E
where E: ApexErrorP4,

Source§

fn report_application_message(message: &[u8]) -> Result<(), Error>

report message to health monitor Read more
Source§

fn raise_application_error(message: &[u8]) -> Result<(), Error>

trigger error handler process Read more
Source§

impl<Q> ApexQueuingPortP4Ext for Q

Source§

fn queueing_port_send_unchecked( id: i64, buffer: &[u8], timeout: SystemTime, ) -> Result<(), Error>

Source§

unsafe fn queueing_port_receive_unchecked( id: i64, timeout: SystemTime, buffer: &mut [u8], ) -> Result<(&[u8], bool), Error>

Safety Read more
Source§

impl<S> ApexSamplingPortP4Ext for S

Source§

fn sampling_port_send_unchecked(id: i64, buffer: &[u8]) -> Result<(), Error>

Source§

unsafe fn sampling_port_receive_unchecked( id: i64, buffer: &mut [u8], ) -> Result<(Validity, &[u8]), Error>

Safety Read more
Source§

impl<T> ApexTimeP4Ext for T
where T: ApexTimeP4,

Source§

fn periodic_wait() -> Result<(), Error>

wait until next release Read more
Source§

fn get_time() -> SystemTime

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Pointee for T

Source§

type Metadata = ()

The type for metadata in pointers and references to Self.
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.