pub struct AnyMessage {
pub one_time: bool,
pub msg: Option<Box<dyn Any + Send>>,
}
Fields§
§one_time: bool
§msg: Option<Box<dyn Any + Send>>
Implementations§
Trait Implementations§
Source§impl Clone for AnyMessage
impl Clone for AnyMessage
Auto Trait Implementations§
impl Freeze for AnyMessage
impl !RefUnwindSafe for AnyMessage
impl Send for AnyMessage
impl !Sync for AnyMessage
impl Unpin for AnyMessage
impl !UnwindSafe for AnyMessage
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