pub struct ViconSystem { /* private fields */ }Expand description
An active connection to a real Vicon data stream.
Implementations§
Source§impl ViconSystem
impl ViconSystem
Sourcepub fn new(hostname: &str) -> Result<Self, ViconError>
pub fn new(hostname: &str) -> Result<Self, ViconError>
Returns a new system connected
to a Vicon data stream at hostname.
The provided hostname may optionally
include a port suffix (e.g., 192.168.1.1:810).
Trait Implementations§
Source§impl HasViconHardware for ViconSystem
impl HasViconHardware for ViconSystem
Source§fn read_frame_subjects(&mut self) -> Result<Vec<ViconSubject>, ViconError>
fn read_frame_subjects(&mut self) -> Result<Vec<ViconSubject>, ViconError>
Returns a list of all identified
ViconSubjects
in the next available frame from the system.impl Send for ViconSystem
Auto Trait Implementations§
impl Freeze for ViconSystem
impl RefUnwindSafe for ViconSystem
impl !Sync for ViconSystem
impl Unpin for ViconSystem
impl UnwindSafe for ViconSystem
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