pub enum TriggerHostOperation {
Register,
List,
Cancel,
}Variants§
Implementations§
Source§impl TriggerHostOperation
impl TriggerHostOperation
pub const fn host_operation(self) -> &'static str
pub const fn receiver_method(self) -> &'static str
pub fn from_host_operation(operation: &str) -> Option<Self>
pub fn from_receiver_method(operation: &str) -> Option<Self>
pub fn input_ty(self) -> TypeExpr
pub fn output_ty(self) -> TypeExpr
Trait Implementations§
Source§impl Clone for TriggerHostOperation
impl Clone for TriggerHostOperation
Source§fn clone(&self) -> TriggerHostOperation
fn clone(&self) -> TriggerHostOperation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TriggerHostOperation
Source§impl Debug for TriggerHostOperation
impl Debug for TriggerHostOperation
impl Eq for TriggerHostOperation
Source§impl PartialEq for TriggerHostOperation
impl PartialEq for TriggerHostOperation
Source§fn eq(&self, other: &TriggerHostOperation) -> bool
fn eq(&self, other: &TriggerHostOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TriggerHostOperation
Auto Trait Implementations§
impl Freeze for TriggerHostOperation
impl RefUnwindSafe for TriggerHostOperation
impl Send for TriggerHostOperation
impl Sync for TriggerHostOperation
impl Unpin for TriggerHostOperation
impl UnsafeUnpin for TriggerHostOperation
impl UnwindSafe for TriggerHostOperation
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