pub struct InputHandler;Implementations§
Source§impl InputHandler
impl InputHandler
pub async fn get_message_from_file<P: AsRef<Path>>( path: P, ) -> Result<String, FreeMobileError>
pub async fn get_message_from_stdin() -> Result<String, FreeMobileError>
pub async fn get_message_interactive() -> Result<String, FreeMobileError>
pub fn validate_message(message: &str) -> Result<(), FreeMobileError>
pub fn preview_message(message: &str, verbose: bool)
pub fn has_stdin_input() -> bool
Auto Trait Implementations§
impl Freeze for InputHandler
impl RefUnwindSafe for InputHandler
impl Send for InputHandler
impl Sync for InputHandler
impl Unpin for InputHandler
impl UnsafeUnpin for InputHandler
impl UnwindSafe for InputHandler
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