Enum msfs::sim_connect::Period
source · pub enum Period {
Never,
Once,
VisualFrame,
SimFrame,
Second,
}
Expand description
Specify how often data is to be sent to the client.
Variants§
Never
Specifies that the data is not to be sent
Once
Specifies that the data should be sent once only. Note that this is not an efficient way of receiving data frequently, use one of the other periods if there is a regular frequency to the data request.
VisualFrame
Specifies that the data should be sent every visual (rendered) frame.
SimFrame
Specifies that the data should be sent every simulated frame, whether that frame is rendered or not.
Second
Specifies that the data should be sent once every second.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Period
impl Send for Period
impl Sync for Period
impl Unpin for Period
impl UnwindSafe for Period
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