pub enum Payload {
Native(Box<dyn Any + Send + Sync>),
Builtin(Builtin),
Foreign(Foreign),
}Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Payload
impl !UnwindSafe for Payload
impl Freeze for Payload
impl Send for Payload
impl Sync for Payload
impl Unpin for Payload
impl UnsafeUnpin for Payload
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