pub enum Period {
Once,
VisualFrame,
SimFrame,
Second,
}
Expand description
Specifies how often the data is to be sent by the server and received by the client. 0 - every interval. 1 - every other interval. 2 - every third interval. etc.
Variants§
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§
impl Eq for Period
impl StructuralPartialEq for Period
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