[−][src]Struct sunrise_vi::terminal::TerminalPipe
Twili IPipe implementation on a Vi Terminal.
Fields
terminal: Arc<Mutex<Terminal>>
Inner terminal.
Implementations
impl TerminalPipe
[src]
pub fn new(terminal: Terminal) -> TerminalPipe
[src]
Create a new TerminalPipe from an existing Terminal.
Trait Implementations
impl Clone for TerminalPipe
[src]
fn clone(&self) -> TerminalPipe
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl IPipeAsync for TerminalPipe
[src]
fn read<'a>(
&'a mut self,
manager: WorkQueue<'static>,
buf: &'a mut [u8]
) -> FutureObj<'a, Result<u64, Error>>
[src]
&'a mut self,
manager: WorkQueue<'static>,
buf: &'a mut [u8]
) -> FutureObj<'a, Result<u64, Error>>
fn write<'a>(
&'a mut self,
_manager: WorkQueue<'static>,
data: &'a [u8]
) -> FutureObj<'a, Result<(), Error>>
[src]
&'a mut self,
_manager: WorkQueue<'static>,
data: &'a [u8]
) -> FutureObj<'a, Result<(), Error>>
fn dispatch(
&'a mut self,
work_queue: WorkQueue<'static>,
cmdid: u32,
buf: &'a mut [u8]
) -> FutureObj<'a, Result<(), Error>>
[src]
&'a mut self,
work_queue: WorkQueue<'static>,
cmdid: u32,
buf: &'a mut [u8]
) -> FutureObj<'a, Result<(), Error>>
Auto Trait Implementations
impl !RefUnwindSafe for TerminalPipe
impl Send for TerminalPipe
impl Sync for TerminalPipe
impl Unpin for TerminalPipe
impl !UnwindSafe for TerminalPipe
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SizedIPCBuffer for T
[src]
fn size(&self) -> usize
[src]
fn is_cool(addr: usize, size: usize) -> bool
[src]
unsafe fn from_raw_parts<'a>(addr: usize, _size: usize) -> &'a T
[src]
unsafe fn from_raw_parts_mut<'a>(addr: usize, _size: usize) -> &'a mut T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,