pub struct BipServerBuilder { /* private fields */ }Expand description
BIP-specific builder that constructs BipTransport from interface/port/broadcast fields.
Implementations§
Source§impl BipServerBuilder
impl BipServerBuilder
Sourcepub fn broadcast_address(self, addr: Ipv4Addr) -> Self
pub fn broadcast_address(self, addr: Ipv4Addr) -> Self
Set the directed broadcast address.
Sourcepub fn database(self, db: ObjectDatabase) -> Self
pub fn database(self, db: ObjectDatabase) -> Self
Set the object database (transfers ownership).
Sourcepub fn dcc_password(self, password: impl Into<String>) -> Self
pub fn dcc_password(self, password: impl Into<String>) -> Self
Set the password required for DeviceCommunicationControl requests.
Sourcepub fn reinit_password(self, password: impl Into<String>) -> Self
pub fn reinit_password(self, password: impl Into<String>) -> Self
Set the password required for ReinitializeDevice requests.
Sourcepub fn enable_fault_detection(self, enabled: bool) -> Self
pub fn enable_fault_detection(self, enabled: bool) -> Self
Enable periodic fault detection / reliability evaluation.
Sourcepub async fn build(self) -> Result<BACnetServer<BipTransport>, Error>
pub async fn build(self) -> Result<BACnetServer<BipTransport>, Error>
Build and start the server, constructing a BipTransport from the config.
Auto Trait Implementations§
impl Freeze for BipServerBuilder
impl !RefUnwindSafe for BipServerBuilder
impl Send for BipServerBuilder
impl Sync for BipServerBuilder
impl Unpin for BipServerBuilder
impl UnsafeUnpin for BipServerBuilder
impl !UnwindSafe for BipServerBuilder
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