Struct DataCallBuilder
pub struct DataCallBuilder {
profile: u8,
reconnect: bool,
ip_family: IpFamily,
}๐Deprecated:
use ql-wds
Expand description
See: DataCall::builder.
Fieldsยง
ยงprofile: u8๐Deprecated:
ยงuse ql-wds
reconnect: bool๐Deprecated:
ยงuse ql-wds
ip_family: IpFamily๐Deprecated:
use ql-wds
Implementationsยง
ยงimpl DataCallBuilder
impl DataCallBuilder
const fn new_priv() -> Self
๐Deprecated:
use ql-wds
pub const fn new() -> Self
๐Deprecated since 1.1.0:
Use DataCall::builder() instead
pub const fn profile(&mut self, profile: u8) -> &mut Self
๐Deprecated: use ql-wds
pub const fn profile(&mut self, profile: u8) -> &mut Self
use ql-wds
Sets the APN profile to be used for this data call.
Defaults to 0.
pub const fn profile_idx(&mut self, profile_idx: u8) -> &mut Self
๐Deprecated since 1.1.0:
Use profile instead
pub const fn reconnect(&mut self, reconnect: bool) -> &mut Self
๐Deprecated: use ql-wds
pub const fn reconnect(&mut self, reconnect: bool) -> &mut Self
use ql-wds
Sets whether to re-dial after disconnecting the network.
Defaults to false.
pub const fn ip_family(&mut self, ip_family: IpFamily) -> &mut Self
๐Deprecated: use ql-wds
pub const fn ip_family(&mut self, ip_family: IpFamily) -> &mut Self
use ql-wds
Sets the IP family for this data call.
Defaults to IpFamily::IPV4.
pub const fn build_into(&self, data_call: &mut DataCall)
๐Deprecated: use ql-wds
pub const fn build_into(&self, data_call: &mut DataCall)
use ql-wds
Builds a data call, writing to an existing DataCall struct.
Trait Implementationsยง
Auto Trait Implementationsยง
impl Freeze for DataCallBuilder
impl RefUnwindSafe for DataCallBuilder
impl Send for DataCallBuilder
impl Sync for DataCallBuilder
impl Unpin for DataCallBuilder
impl UnsafeUnpin for DataCallBuilder
impl UnwindSafe for DataCallBuilder
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