pub struct Bip6ClientBuilder { /* private fields */ }Expand description
BIP6-specific builder that constructs Bip6Transport from IPv6 interface/port/device-instance.
Implementations§
Source§impl Bip6ClientBuilder
impl Bip6ClientBuilder
Sourcepub fn device_instance(self, instance: u32) -> Self
pub fn device_instance(self, instance: u32) -> Self
Set the device instance for VMAC derivation (Annex U.5).
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<Bip6Transport>, Error>
pub async fn build(self) -> Result<BACnetClient<Bip6Transport>, Error>
Build and start the client, constructing a Bip6Transport from the config.
Auto Trait Implementations§
impl Freeze for Bip6ClientBuilder
impl RefUnwindSafe for Bip6ClientBuilder
impl Send for Bip6ClientBuilder
impl Sync for Bip6ClientBuilder
impl Unpin for Bip6ClientBuilder
impl UnsafeUnpin for Bip6ClientBuilder
impl UnwindSafe for Bip6ClientBuilder
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