pub struct StartedRouter<A = Receiver<ReceivedApdu>, C = Receiver<ReceivedNetworkControl>> {
pub router: BACnetRouter,
pub apdus: A,
pub network_control: Option<C>,
}Expand description
A running router and the receivers its RouterOptions asked for.
Fields§
§router: BACnetRouterThe router.
apdus: AAPDUs for local applications: those without a remote destination, or for which this router is the final hop.
network_control: Option<C>The router’s own network-control receiver, when
RouterOptions::network_control_receiver or
RouterOptions::network_control_receiver_with_admission asked for it.
Auto Trait Implementations§
impl<A = Receiver<ReceivedApdu>, C = Receiver<ReceivedNetworkControl>> !RefUnwindSafe for StartedRouter<A, C>
impl<A = Receiver<ReceivedApdu>, C = Receiver<ReceivedNetworkControl>> !UnwindSafe for StartedRouter<A, C>
impl<A, C> Freeze for StartedRouter<A, C>
impl<A, C> Send for StartedRouter<A, C>
impl<A, C> Sync for StartedRouter<A, C>
impl<A, C> Unpin for StartedRouter<A, C>
impl<A, C> UnsafeUnpin for StartedRouter<A, C>
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