pub struct RoutedDeviceConfig {
pub instance: u32,
pub router_mac: Vec<u8>,
pub remote_network: u16,
pub remote_mac: Vec<u8>,
pub max_apdu_length: u32,
pub segmentation_supported: Segmentation,
pub max_segments_accepted: Option<u32>,
}Expand description
Manual registration details for a known routed peer, for use with
crate::client::BACnetClient::add_routed_device.
Everything a caller must supply so requests to the peer route correctly and are sized by the peer’s advertised limits rather than local defaults.
Fields§
§instance: u32Device instance number.
router_mac: Vec<u8>MAC of the immediate-hop router (transport next hop, not peer identity).
remote_network: u16Remote network number (SNET) the peer resides on.
remote_mac: Vec<u8>Peer’s MAC on the remote network (SADR).
max_apdu_length: u32The peer’s advertised Max APDU Length Accepted.
segmentation_supported: SegmentationThe peer’s advertised segmentation capability.
max_segments_accepted: Option<u32>The peer’s Max Segments Accepted, if known (None = unspecified).
Trait Implementations§
Source§impl Clone for RoutedDeviceConfig
impl Clone for RoutedDeviceConfig
Auto Trait Implementations§
impl Freeze for RoutedDeviceConfig
impl RefUnwindSafe for RoutedDeviceConfig
impl Send for RoutedDeviceConfig
impl Sync for RoutedDeviceConfig
impl Unpin for RoutedDeviceConfig
impl UnsafeUnpin for RoutedDeviceConfig
impl UnwindSafe for RoutedDeviceConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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