pub enum LinkKind {
Serial,
Tcp,
Udp,
}Expand description
The link kind an image rides — [image.<id>] transport (RFC-0086 D2).
The same three words as nros_orchestration_ir::leaf_system::TRANSPORT_KINDS
(and nros_platform_config’s copy), which nros::main! maps onto these
variants: an unknown word is refused when the leaf is read, and 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.
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