pub struct BroadcastDistributionTable { /* private fields */ }Expand description
Broadcast distribution table manager
Implementations§
Source§impl BroadcastDistributionTable
impl BroadcastDistributionTable
Sourcepub fn update_entry(&mut self, entry: BdtEntry) -> Result<()>
pub fn update_entry(&mut self, entry: BdtEntry) -> Result<()>
Add or update a BDT entry
Sourcepub fn remove_entry(&mut self, address: &NetworkAddress)
pub fn remove_entry(&mut self, address: &NetworkAddress)
Remove a BDT entry
Sourcepub fn get_broadcast_addresses(&self, network: u16) -> Vec<&NetworkAddress>
pub fn get_broadcast_addresses(&self, network: u16) -> Vec<&NetworkAddress>
Get addresses for broadcasting to a network
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BroadcastDistributionTable
impl RefUnwindSafe for BroadcastDistributionTable
impl Send for BroadcastDistributionTable
impl Sync for BroadcastDistributionTable
impl Unpin for BroadcastDistributionTable
impl UnsafeUnpin for BroadcastDistributionTable
impl UnwindSafe for BroadcastDistributionTable
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