pub struct RemoteActorSystemBuilder { /* private fields */ }Implementations§
Source§impl RemoteActorSystemBuilder
impl RemoteActorSystemBuilder
pub fn new() -> RemoteActorSystemBuilder
pub fn with_tag(self, tag: impl Into<String>) -> Self
pub fn with_id(self, id: NodeId) -> Self
pub fn with_version(self, version: impl ToString) -> Self
pub fn configure<F>(self, f: F) -> Self
pub fn with_handlers<F>(self, f: F) -> Self
pub fn with_actors<F>(self, f: F) -> Self
pub fn with_actor_system(self, sys: ActorSystem) -> Self
pub fn single_node(self) -> Self
pub fn client_auth_jwt<S: Into<Vec<u8>>>( self, secret: S, token_ttl: Option<Duration>, ) -> Self
pub fn attribute<K: ToString, V: ToString>(self, key: K, value: V) -> Self
pub async fn build(self) -> RemoteActorSystem
Auto Trait Implementations§
impl !RefUnwindSafe for RemoteActorSystemBuilder
impl !Send for RemoteActorSystemBuilder
impl !Sync for RemoteActorSystemBuilder
impl !UnwindSafe for RemoteActorSystemBuilder
impl Freeze for RemoteActorSystemBuilder
impl Unpin for RemoteActorSystemBuilder
impl UnsafeUnpin for RemoteActorSystemBuilder
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