pub struct RemoteEvent {
pub name: &'static str,
pub path: &'static str,
pub publish: fn(&str) -> Result<u64, String>,
}Expand description
An event a tool may publish, registered by the derive.
Fields§
§name: &'static str§path: &'static str§publish: fn(&str) -> Result<u64, String>Trait Implementations§
impl Collect for RemoteEvent
Auto Trait Implementations§
impl Freeze for RemoteEvent
impl RefUnwindSafe for RemoteEvent
impl Send for RemoteEvent
impl Sync for RemoteEvent
impl Unpin for RemoteEvent
impl UnsafeUnpin for RemoteEvent
impl UnwindSafe for RemoteEvent
Blanket Implementations§
impl<M> AllowedSignal<M> for Mwhere
M: 'static,
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