Struct ReturnValue
#[repr(transparent)]pub struct ReturnValue(c_int);Expand description
Definitions of DLT return values
Tuple Fields§
§0: c_intImplementations§
§impl ReturnValue
impl ReturnValue
pub const FILE_SIZE_ERROR: Self
pub const LOGGING_DISABLED: Self
pub const USER_BUFFER_FULL: Self
pub const WRONG_PARAMETER: Self
pub const BUFFER_FULL: Self
pub const PIPE_FULL: Self
pub const PIPE_ERROR: Self
pub const ERROR: Self
pub const OK: Self
pub const TRUE: Self
pub const fn is_ok(self) -> bool
const fn name(self) -> Option<&'static str>
Trait Implementations§
§impl Clone for ReturnValue
impl Clone for ReturnValue
§fn clone(&self) -> ReturnValue
fn clone(&self) -> ReturnValue
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 more§impl Debug for ReturnValue
impl Debug for ReturnValue
§impl PartialEq for ReturnValue
impl PartialEq for ReturnValue
impl Copy for ReturnValue
impl Eq for ReturnValue
impl StructuralPartialEq for ReturnValue
Auto Trait Implementations§
impl Freeze for ReturnValue
impl RefUnwindSafe for ReturnValue
impl Send for ReturnValue
impl Sync for ReturnValue
impl Unpin for ReturnValue
impl UnwindSafe for ReturnValue
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