pub struct NameManager { /* private fields */ }Implementations§
Source§impl NameManager
impl NameManager
pub fn new() -> NameManager
pub fn disable(&mut self)
pub fn enable(&mut self)
pub fn find_spare_address(&self, pref: u8) -> Option<u8>
pub fn get_next_timeout_ms(&self) -> Option<u32>
pub fn request_names( &mut self, iface: &mut dyn CanInterface, src: u8, ) -> Result<(), Error>
pub fn advance_time( &mut self, iface: &mut dyn CanInterface, time_delta_ms: usize, ) -> Result<bool, Error>
pub fn resolve(&self, name: &Name) -> Result<Address, Error>
pub fn resolve_local(&self, name: &Name) -> Result<Address, Error>
pub fn resolve_local_else_null(&self, name: &Name) -> u8
pub fn register_local_name( &mut self, iface: &mut dyn CanInterface, address: u8, name: &Name, ) -> Result<bool, Error>
pub fn on_can_frame( &mut self, iface: &mut dyn CanInterface, id: ExtendedId, data: &FrameData, ) -> Result<bool, Error>
Auto Trait Implementations§
impl Freeze for NameManager
impl RefUnwindSafe for NameManager
impl Send for NameManager
impl Sync for NameManager
impl Unpin for NameManager
impl UnsafeUnpin for NameManager
impl UnwindSafe for NameManager
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