pub struct SessionStatus {
pub lock: LockState,
pub target: GateState,
pub pose: GateState,
pub commanding: bool,
}Expand description
A snapshot of a session’s safety state for one cycle.
Fields§
§lock: LockStateThe lock state after this cycle.
target: GateStateThe detection/target stream’s freshness.
pose: GateStateThe pose stream’s freshness.
commanding: boolWhether the behaviour may command the FC this cycle (locked AND every stream the mode requires is fresh). When false, the behaviour stops/holds.
Trait Implementations§
Source§impl Clone for SessionStatus
impl Clone for SessionStatus
impl Copy for SessionStatus
Source§impl Debug for SessionStatus
impl Debug for SessionStatus
impl Eq for SessionStatus
Source§impl PartialEq for SessionStatus
impl PartialEq for SessionStatus
impl StructuralPartialEq for SessionStatus
Auto Trait Implementations§
impl Freeze for SessionStatus
impl RefUnwindSafe for SessionStatus
impl Send for SessionStatus
impl Sync for SessionStatus
impl Unpin for SessionStatus
impl UnsafeUnpin for SessionStatus
impl UnwindSafe for SessionStatus
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