pub struct AtcaIfaceCfg { /* private fields */ }
Expand description
ATECC interface configuration
Implementations§
Source§impl AtcaIfaceCfg
impl AtcaIfaceCfg
pub fn set_iface_type(self, iface_type: String) -> AtcaIfaceCfg
pub fn set_devtype(self, devtype: String) -> AtcaIfaceCfg
pub fn set_wake_delay(self, wake_delay: u16) -> AtcaIfaceCfg
pub fn set_rx_retries(self, rx_retries: i32) -> AtcaIfaceCfg
pub fn set_iface(self, iface: AtcaIface) -> AtcaIfaceCfg
Trait Implementations§
Source§impl Clone for AtcaIfaceCfg
impl Clone for AtcaIfaceCfg
Source§fn clone(&self) -> AtcaIfaceCfg
fn clone(&self) -> AtcaIfaceCfg
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for AtcaIfaceCfg
impl Default for AtcaIfaceCfg
Source§fn default() -> AtcaIfaceCfg
fn default() -> AtcaIfaceCfg
Returns the “default value” for a type. Read more
Source§impl TryFrom<AtcaIfaceCfg> for ATCAIfaceCfg
impl TryFrom<AtcaIfaceCfg> for ATCAIfaceCfg
impl Copy for AtcaIfaceCfg
Auto Trait Implementations§
impl Freeze for AtcaIfaceCfg
impl RefUnwindSafe for AtcaIfaceCfg
impl Send for AtcaIfaceCfg
impl Sync for AtcaIfaceCfg
impl Unpin for AtcaIfaceCfg
impl UnwindSafe for AtcaIfaceCfg
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