pub struct TerminalManager { /* private fields */ }Implementations§
Source§impl TerminalManager
impl TerminalManager
pub async fn new() -> Result<Self>
pub async fn setup(&mut self) -> Result<()>
pub async fn cleanup(&mut self) -> Result<()>
Sourcepub fn is_raw_mode_enabled(&self) -> bool
pub fn is_raw_mode_enabled(&self) -> bool
✅ DEBUG: Prüfe ob Raw Mode aktiv ist
Sourcepub async fn force_raw_mode(&mut self) -> Result<()>
pub async fn force_raw_mode(&mut self) -> Result<()>
✅ FORCE RAW MODE (falls es während der Laufzeit verloren geht)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TerminalManager
impl RefUnwindSafe for TerminalManager
impl Send for TerminalManager
impl Sync for TerminalManager
impl Unpin for TerminalManager
impl UnwindSafe for TerminalManager
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more