pub enum LocatorProtocol {
Tcp,
Udp,
Serial,
Unknown,
}Expand description
Locator transport protocol
Variants§
Tcp
TCP transport (e.g., “tcp/127.0.0.1:7447”)
Udp
UDP transport (e.g., “udp/192.168.1.50:2019” — common for XRCE-DDS)
Serial
Serial/UART transport (e.g., “serial//dev/ttyUSB0#baudrate=115200”)
Unknown
Unknown protocol
Trait Implementations§
Source§impl Clone for LocatorProtocol
impl Clone for LocatorProtocol
Source§fn clone(&self) -> LocatorProtocol
fn clone(&self) -> LocatorProtocol
Returns a duplicate 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 LocatorProtocol
impl Debug for LocatorProtocol
Source§impl PartialEq for LocatorProtocol
impl PartialEq for LocatorProtocol
impl Copy for LocatorProtocol
impl Eq for LocatorProtocol
impl StructuralPartialEq for LocatorProtocol
Auto Trait Implementations§
impl Freeze for LocatorProtocol
impl RefUnwindSafe for LocatorProtocol
impl Send for LocatorProtocol
impl Sync for LocatorProtocol
impl Unpin for LocatorProtocol
impl UnsafeUnpin for LocatorProtocol
impl UnwindSafe for LocatorProtocol
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