pub struct BackendSide { /* private fields */ }Expand description
The service’s answer where no Tilo session serves the clipboard: an app’s copies and pastes
over the operating system’s own clipboard, served by the process that started the app (the
launcher, or tilolang run). An app still talks only to Connected either way.
Implementations§
Source§impl BackendSide
impl BackendSide
Sourcepub fn new(backend: Arc<dyn ClipboardBackend>) -> BackendSide
pub fn new(backend: Arc<dyn ClipboardBackend>) -> BackendSide
The service side of backend: the operating system’s clipboard, or a test’s.
Trait Implementations§
Source§impl ClipboardSide for BackendSide
impl ClipboardSide for BackendSide
Auto Trait Implementations§
impl !RefUnwindSafe for BackendSide
impl !UnwindSafe for BackendSide
impl Forget for BackendSide
impl Freeze for BackendSide
impl Move for BackendSide
impl Send for BackendSide
impl Sync for BackendSide
impl Unpin for BackendSide
impl UnsafeUnpin for BackendSide
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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