pub struct ApplicationError(/* private fields */);
Expand description
An ApplicationError
represents an error that can be returned by a client server operation
Implementations§
Source§impl ApplicationError
impl ApplicationError
Sourcepub fn set_error_code(
&self,
error_code: u64,
) -> Result<(), AutosarAbstractionError>
pub fn set_error_code( &self, error_code: u64, ) -> Result<(), AutosarAbstractionError>
Set the error code of the application error
Sourcepub fn error_code(&self) -> Option<u64>
pub fn error_code(&self) -> Option<u64>
Get the error code of the application error
Trait Implementations§
Source§impl Clone for ApplicationError
impl Clone for ApplicationError
Source§fn clone(&self) -> ApplicationError
fn clone(&self) -> ApplicationError
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 ApplicationError
impl Debug for ApplicationError
Source§impl From<ApplicationError> for Element
impl From<ApplicationError> for Element
Source§fn from(val: ApplicationError) -> Self
fn from(val: ApplicationError) -> Self
Converts to this type from the input type.
Source§impl Hash for ApplicationError
impl Hash for ApplicationError
Source§impl PartialEq for ApplicationError
impl PartialEq for ApplicationError
Source§impl TryFrom<Element> for ApplicationError
impl TryFrom<Element> for ApplicationError
impl Eq for ApplicationError
impl StructuralPartialEq for ApplicationError
Auto Trait Implementations§
impl Freeze for ApplicationError
impl !RefUnwindSafe for ApplicationError
impl Send for ApplicationError
impl Sync for ApplicationError
impl Unpin for ApplicationError
impl !UnwindSafe for ApplicationError
Blanket Implementations§
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.