Enum msfs::sim_connect::Period
source · pub enum Period {
Never = 0,
Once = 1,
VisualFrame = 2,
SimFrame = 3,
Second = 4,
}
Expand description
Specify how often data is to be sent to the client.
Variants§
Never = 0
Specifies that the data is not to be sent
Once = 1
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 = 2
Specifies that the data should be sent every visual (rendered) frame.
SimFrame = 3
Specifies that the data should be sent every simulated frame, whether that frame is rendered or not.
Second = 4
Specifies that the data should be sent once every second.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Period
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