pub struct MinimalConfig;Expand description
Minimal configuration for resource-constrained systems.
Trait Implementations§
Source§impl Clone for MinimalConfig
impl Clone for MinimalConfig
Source§fn clone(&self) -> MinimalConfig
fn clone(&self) -> MinimalConfig
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 Debug for MinimalConfig
impl Debug for MinimalConfig
Source§impl PartialEq for MinimalConfig
impl PartialEq for MinimalConfig
Source§impl ShellConfig for MinimalConfig
impl ShellConfig for MinimalConfig
Source§const MAX_PATH_DEPTH: usize = 4
const MAX_PATH_DEPTH: usize = 4
Maximum path depth (default: 8)
Source§const MAX_PROMPT: usize = 32
const MAX_PROMPT: usize = 32
Maximum prompt length (default: 64)
Source§const MAX_RESPONSE: usize = 128
const MAX_RESPONSE: usize = 128
Maximum response message length (default: 256)
Source§const HISTORY_SIZE: usize = 4
const HISTORY_SIZE: usize = 4
Command history size (default: 10)
Source§const MSG_WELCOME: &'static str = "Welcome"
const MSG_WELCOME: &'static str = "Welcome"
Welcome message shown on activation
Source§const MSG_LOGIN_PROMPT: &'static str = "Login> "
const MSG_LOGIN_PROMPT: &'static str = "Login> "
Login prompt
Source§const MSG_INVALID_LOGIN_FORMAT: &'static str = "Invalid format. Use name:pass"
const MSG_INVALID_LOGIN_FORMAT: &'static str = "Invalid format. Use name:pass"
Invalid login format message
Source§const MSG_LOGIN_FAILED: &'static str = "Login failed"
const MSG_LOGIN_FAILED: &'static str = "Login failed"
Login failed message
Source§const MSG_LOGIN_SUCCESS: &'static str = "Logged in"
const MSG_LOGIN_SUCCESS: &'static str = "Logged in"
Login success message
Source§const MSG_LOGOUT: &'static str = "Logged out"
const MSG_LOGOUT: &'static str = "Logged out"
Logout message
impl Copy for MinimalConfig
impl Eq for MinimalConfig
impl StructuralPartialEq for MinimalConfig
Auto Trait Implementations§
impl Freeze for MinimalConfig
impl RefUnwindSafe for MinimalConfig
impl Send for MinimalConfig
impl Sync for MinimalConfig
impl Unpin for MinimalConfig
impl UnsafeUnpin for MinimalConfig
impl UnwindSafe for MinimalConfig
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