pub struct SignalPosition {
pub freshness: PositionFreshness,
pub position: FilePosition,
}Expand description
The position a filament change charged up to, and how fresh it is.
Fields§
§freshness: PositionFreshnessWhether it was read when the signal was handled, or is the last one recorded before it.
position: FilePositionThe position.
Trait Implementations§
Source§impl Clone for SignalPosition
impl Clone for SignalPosition
Source§impl Debug for SignalPosition
impl Debug for SignalPosition
Source§impl<'de> Deserialize<'de> for SignalPosition
impl<'de> Deserialize<'de> for SignalPosition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SignalPosition
impl PartialEq for SignalPosition
Source§impl Serialize for SignalPosition
impl Serialize for SignalPosition
impl StructuralPartialEq for SignalPosition
Auto Trait Implementations§
impl Freeze for SignalPosition
impl RefUnwindSafe for SignalPosition
impl Send for SignalPosition
impl Sync for SignalPosition
impl Unpin for SignalPosition
impl UnsafeUnpin for SignalPosition
impl UnwindSafe for SignalPosition
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