Crate rust_keylock

source ·
Expand description

§The rust-keylock library

Executes the logic of the rust-keylock.

This library is the executor of the rust-keylock logic. Editor references are used to interact with the rust-keylock users.

Modules§

Structs§

Enums§

  • Indicates to the Editors the way how an entry should be presented to the user
  • Enumeration of the several different Menus that an Editor implementation should handle.
  • Severity for the messages presented to the Users
  • Represents a User selection that is returned after showing a Menu.

Traits§

  • Trait to be implemented by various different Editors (Shell, Web, Android, other…).
  • Trait to be implemented by various different Editors (Shell, Web, Android, other…).

Functions§

  • Takes a reference of Editor implementation as argument and executes the rust-keylock logic. The Editor is responsible for the interaction with the user. Currently there are Editor implementations for shell and for Android.