pub struct ActorProxy<'a> {
pub name: Ident,
/* private fields */
}
Fields§
§name: Ident
Implementations§
Source§impl ActorProxy<'_>
impl ActorProxy<'_>
pub fn new<'a>( name: Ident, message_enum: Ident, events_enum: Option<&'a Ident>, methods: &[MessageHandlerMethod<'a>], convertible_errors: Vec<&'a TypePath>, ) -> ActorProxy<'a>
pub fn generate(&self) -> TokenStream
Auto Trait Implementations§
impl<'a> Freeze for ActorProxy<'a>
impl<'a> RefUnwindSafe for ActorProxy<'a>
impl<'a> !Send for ActorProxy<'a>
impl<'a> !Sync for ActorProxy<'a>
impl<'a> Unpin for ActorProxy<'a>
impl<'a> UnwindSafe for ActorProxy<'a>
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