pub struct HandlerDescription<T: CCIPReadHandler> {
pub name: &'static str,
pub function: Function,
pub callback: Arc<T>,
}
Fields§
§name: &'static str
§function: Function
§callback: Arc<T>
Trait Implementations§
Source§impl<T: Clone + CCIPReadHandler> Clone for HandlerDescription<T>
impl<T: Clone + CCIPReadHandler> Clone for HandlerDescription<T>
Source§fn clone(&self) -> HandlerDescription<T>
fn clone(&self) -> HandlerDescription<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<T> Freeze for HandlerDescription<T>
impl<T> RefUnwindSafe for HandlerDescription<T>where
T: RefUnwindSafe,
impl<T> Send for HandlerDescription<T>
impl<T> Sync for HandlerDescription<T>
impl<T> Unpin for HandlerDescription<T>
impl<T> UnwindSafe for HandlerDescription<T>where
T: RefUnwindSafe,
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