Struct ccip_read_server::types::HandlerDescription
source · 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 copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<T> RefUnwindSafe for HandlerDescription<T>where T: RefUnwindSafe,
impl<T> Send for HandlerDescription<T>where T: Send + Sync,
impl<T> Sync for HandlerDescription<T>where T: Send + Sync,
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