Struct ccip_read_server::types::HandlerCallback
source · pub struct HandlerCallback<'a, T: CCIPReadHandler> {
pub name: &'a str,
pub function: Arc<T>,
}Expand description
Callback from CCIP-Read server.
Fields§
§name: &'a strName of the smart-contract function
function: Arc<T>Closure called by the server
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> RefUnwindSafe for HandlerCallback<'a, T>where T: RefUnwindSafe,
impl<'a, T> Send for HandlerCallback<'a, T>where T: Send + Sync,
impl<'a, T> Sync for HandlerCallback<'a, T>where T: Send + Sync,
impl<'a, T> Unpin for HandlerCallback<'a, T>
impl<'a, T> UnwindSafe for HandlerCallback<'a, 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