pub enum LocalHitRequest {
Upgrade {
original: ClientEnd<TouchSourceMarker>,
responder: LocalHitUpgradeResponder,
},
}
Expand description
A method for a client to upgrade its touch event protocol to additionally receive local-hit data for touch events.
Variants§
Upgrade
An exchange from an original
touch protocol endpoint to an augmented
touch protocol endpoint. If successful, error
is empty, original
is
consumed, and augmented
is returned for the client’s use. Otherwise,
the error
carries back original
for the client’s use, and
augmented
is null.
Implementations§
Source§impl LocalHitRequest
impl LocalHitRequest
pub fn into_upgrade( self, ) -> Option<(ClientEnd<TouchSourceMarker>, LocalHitUpgradeResponder)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LocalHitRequest
impl !RefUnwindSafe for LocalHitRequest
impl Send for LocalHitRequest
impl Sync for LocalHitRequest
impl Unpin for LocalHitRequest
impl !UnwindSafe for LocalHitRequest
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