pub enum RebootFlag {
RecentlyRebooted,
Continuous,
}Expand description
Whether the sender has recently rebooted, as encoded in the SOME/IP-SD flags byte.
Per AUTOSAR SOME/IP-SD, this flag is set to RebootFlag::RecentlyRebooted from
startup until the session counter wraps from 0xFFFF to 1, then permanently
cleared to RebootFlag::Continuous.
Variants§
RecentlyRebooted
Sender has recently rebooted; session counter has not yet wrapped.
Continuous
Sender is running continuously; session counter has wrapped at least once.
Trait Implementations§
Source§impl Clone for RebootFlag
impl Clone for RebootFlag
Source§fn clone(&self) -> RebootFlag
fn clone(&self) -> RebootFlag
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 RebootFlag
impl Debug for RebootFlag
Source§impl From<RebootFlag> for bool
impl From<RebootFlag> for bool
Source§fn from(r: RebootFlag) -> Self
fn from(r: RebootFlag) -> Self
Converts to this type from the input type.
Source§impl From<bool> for RebootFlag
impl From<bool> for RebootFlag
Source§impl PartialEq for RebootFlag
impl PartialEq for RebootFlag
impl Copy for RebootFlag
impl Eq for RebootFlag
impl StructuralPartialEq for RebootFlag
Auto Trait Implementations§
impl Freeze for RebootFlag
impl RefUnwindSafe for RebootFlag
impl Send for RebootFlag
impl Sync for RebootFlag
impl Unpin for RebootFlag
impl UnsafeUnpin for RebootFlag
impl UnwindSafe for RebootFlag
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