Struct uavcan::node::SimpleNode[][src]

pub struct SimpleNode<I, D, S> where
    I: TransferInterface,
    D: Deref<Target = I>,
    S: Storage<I::Frame>, 
{ /* fields omitted */ }

A minimal featured Uavcan node.

This type of node lack some features that the FullNode provides, but is in turn suitable for highly resource constrained systems.

Methods

impl<I, D, S> SimpleNode<I, D, S> where
    I: TransferInterface,
    D: Deref<Target = I>,
    S: Storage<I::Frame>, 
[src]

Call this method after the interface have sucesfully received a new frame or periodically

This method is responsible for moving as many frames as possible from incoming interface mailboxes to the storage buffer.

Call this method after the interface have successfully transmitted a new frame or periodically

This method is responsible for moving as many frames as possible from storage buffers to the outgoing interface mailboxes.

Trait Implementations

impl<I: Debug, D: Debug, S: Debug> Debug for SimpleNode<I, D, S> where
    I: TransferInterface,
    D: Deref<Target = I>,
    S: Storage<I::Frame>,
    S::InterfaceStorageHandle: Debug
[src]

Formats the value using the given formatter. Read more

impl<I, D, S> Node<I, S> for SimpleNode<I, D, S> where
    I: TransferInterface,
    D: Deref<Target = I>,
    S: Storage<I::Frame>, 
[src]

Broadcast a Message on the Uavcan network.

Subscribe to broadcasts of a specific Message.

Auto Trait Implementations

impl<I, D, S> Send for SimpleNode<I, D, S> where
    D: Send,
    S: Send,
    <S as Storage<<I as TransferInterface>::Frame>>::InterfaceStorageHandle: Send

impl<I, D, S> Sync for SimpleNode<I, D, S> where
    D: Sync,
    S: Sync,
    <S as Storage<<I as TransferInterface>::Frame>>::InterfaceStorageHandle: Sync