Struct tauri_plugin_serialplugin::state::SerialportState
source · pub struct SerialportState {
pub serialports: Arc<Mutex<HashMap<String, SerialportInfo>>>,
}
Fields§
§serialports: Arc<Mutex<HashMap<String, SerialportInfo>>>
Trait Implementations§
source§impl Default for SerialportState
impl Default for SerialportState
source§fn default() -> SerialportState
fn default() -> SerialportState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SerialportState
impl RefUnwindSafe for SerialportState
impl Send for SerialportState
impl Sync for SerialportState
impl Unpin for SerialportState
impl UnwindSafe for SerialportState
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