Struct gloo_worker::HandlerId
source · [−]pub struct HandlerId(_, _);
Expand description
Id of responses handler.
Implementations
sourceimpl HandlerId
impl HandlerId
sourcepub fn is_respondable(self) -> bool
pub fn is_respondable(self) -> bool
Indicates if a handler id corresponds to callback in the Worker runtime.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for HandlerId
impl<'de> Deserialize<'de> for HandlerId
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for HandlerId
impl Eq for HandlerId
impl StructuralEq for HandlerId
impl StructuralPartialEq for HandlerId
Auto Trait Implementations
impl RefUnwindSafe for HandlerId
impl Send for HandlerId
impl Sync for HandlerId
impl Unpin for HandlerId
impl UnwindSafe for HandlerId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more