pub enum LinkKind {
Serial,
Tcp,
Udp,
Custom,
}Expand description
The link kind an image rides — its locator’s scheme (RFC-0109 D6).
The same words as nros_orchestration_ir::leaf_system::TRANSPORT_KINDS,
which nros::main! maps onto these variants: a word the macro maps to a
variant missing here fails the image’s compile. It names a LINK, never an
RMW — "xrce" is not one (issue 1601).
Variants§
Serial
A byte-stream link (UART, USB-CDC, …).
Tcp
TCP over the board’s IP stack.
Udp
UDP over the board’s IP stack.
Custom
A transport the board supplies itself (custom://…) — on the
reference boards, XRCE framed over a UART.
Implementations§
Trait Implementations§
impl Copy for LinkKind
impl Eq for LinkKind
impl StructuralPartialEq for LinkKind
Auto Trait Implementations§
impl Freeze for LinkKind
impl RefUnwindSafe for LinkKind
impl Send for LinkKind
impl Sync for LinkKind
impl Unpin for LinkKind
impl UnsafeUnpin for LinkKind
impl UnwindSafe for LinkKind
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