pub enum NatNetResponse {
Ping(Sender),
Response(i32),
ResponseString(String),
ModelDef(Vec<DataSet>),
FrameOfData(FrameOfData),
MessageString(String),
UnrecognizedRequest,
}
Expand description
Enumeration of possible responses from NatNet
Variants§
Ping(Sender)
Response to ping request
The ping response contains data about the sender application
Response(i32)
Response to command
ResponseString(String)
Response to command in String form
ModelDef(Vec<DataSet>)
Model definitions
This type contains a list of DataSet
s that describe data in a
FrameOfData
FrameOfData(FrameOfData)
Data about tracked content
MessageString(String)
Message from the sender application
UnrecognizedRequest
The sender application did not understand the request
Trait Implementations§
Source§impl Clone for NatNetResponse
impl Clone for NatNetResponse
Source§fn clone(&self) -> NatNetResponse
fn clone(&self) -> NatNetResponse
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NatNetResponse
impl Debug for NatNetResponse
Source§impl PartialEq for NatNetResponse
impl PartialEq for NatNetResponse
impl StructuralPartialEq for NatNetResponse
Auto Trait Implementations§
impl Freeze for NatNetResponse
impl RefUnwindSafe for NatNetResponse
impl Send for NatNetResponse
impl Sync for NatNetResponse
impl Unpin for NatNetResponse
impl UnwindSafe for NatNetResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)