pub struct BipClientBuilder { /* private fields */ }Expand description
BIP-specific builder that constructs BipTransport from interface/port/broadcast fields.
Implementations§
Source§impl BipClientBuilder
impl BipClientBuilder
Sourcepub fn broadcast_address(self, addr: Ipv4Addr) -> Self
pub fn broadcast_address(self, addr: Ipv4Addr) -> Self
Set the directed broadcast address.
Sourcepub fn apdu_timeout_ms(self, ms: u64) -> Self
pub fn apdu_timeout_ms(self, ms: u64) -> Self
Set APDU timeout in milliseconds.
Sourcepub fn max_apdu_length(self, len: u16) -> Self
pub fn max_apdu_length(self, len: u16) -> Self
Set the maximum APDU length this client accepts.
Sourcepub async fn build(self) -> Result<BACnetClient<BipTransport>, Error>
pub async fn build(self) -> Result<BACnetClient<BipTransport>, Error>
Build and start the client, constructing a BipTransport from the config.
Auto Trait Implementations§
impl Freeze for BipClientBuilder
impl RefUnwindSafe for BipClientBuilder
impl Send for BipClientBuilder
impl Sync for BipClientBuilder
impl Unpin for BipClientBuilder
impl UnsafeUnpin for BipClientBuilder
impl UnwindSafe for BipClientBuilder
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