pub struct Subscribe<Msg: Message> {
pub topic: Topic,
pub actor: BoxedTell<Msg>,
}Fields§
§topic: Topic§actor: BoxedTell<Msg>Trait Implementations§
Source§impl<Msg: Message> Into<ChannelMsg<Msg>> for Subscribe<Msg>
impl<Msg: Message> Into<ChannelMsg<Msg>> for Subscribe<Msg>
Source§fn into(self) -> ChannelMsg<Msg>
fn into(self) -> ChannelMsg<Msg>
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl<Msg> Freeze for Subscribe<Msg>
impl<Msg> !RefUnwindSafe for Subscribe<Msg>
impl<Msg> Send for Subscribe<Msg>
impl<Msg> !Sync for Subscribe<Msg>
impl<Msg> Unpin for Subscribe<Msg>
impl<Msg> !UnwindSafe for Subscribe<Msg>
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