pub struct Groot2Connector { /* private fields */ }Expand description
The Groot2Connector is used to create an interface between Groot2
and the tree executor.
The connection is via TCP and has to be established by Groot2. So the connector on tree side only needs to know the port it shall listen on.
Implementations§
Source§impl Groot2Connector
impl Groot2Connector
Sourcepub fn new(tree: &mut BehaviorTree, port: u16) -> Self
pub fn new(tree: &mut BehaviorTree, port: u16) -> Self
Construct a new Groot2Connector.
§Panics
Auto Trait Implementations§
impl Freeze for Groot2Connector
impl !RefUnwindSafe for Groot2Connector
impl Send for Groot2Connector
impl Sync for Groot2Connector
impl Unpin for Groot2Connector
impl !UnwindSafe for Groot2Connector
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