[−]Struct holochain_cas_implementations::actor::SYS
Methods from Deref<Target = ActorSystem<Protocol>>
pub fn shutdown(&self) -> Shutdown[src]
pub fn shutdown(&self) -> ShutdownShutdown the actor system
Attempts a graceful shutdown of the system and all actors.
Actors will receive a stop message, executing actor.post_stop.
Does not block. Returns a future which is completed when all actors have successfully stopped.
pub fn start_date(&self) -> &DateTime<Utc>[src]
pub fn start_date(&self) -> &DateTime<Utc>Returns the system start date
pub fn uptime(&self) -> u64[src]
pub fn uptime(&self) -> u64Returns the number of seconds since the system started
pub fn host(&self) -> Arc<String>[src]
pub fn host(&self) -> Arc<String>Returns the hostname used when the system started
The host is used in actor addressing.
Currently not used, but will be once system clustering is introduced.
pub fn id(&self) -> Uuid[src]
pub fn id(&self) -> UuidReturns the UUID assigned to the system
pub fn name(&self) -> String[src]
pub fn name(&self) -> StringReturns the name of the system
pub fn print_tree(&self)[src]
pub fn print_tree(&self)pub fn user_root(&self) -> &ActorRef<Msg>[src]
pub fn user_root(&self) -> &ActorRef<Msg>Returns the user root actor reference
pub fn system_root(&self) -> &ActorRef<Msg>[src]
pub fn system_root(&self) -> &ActorRef<Msg>Returns the system root actor reference
pub fn temp_root(&self) -> &ActorRef<Msg>[src]
pub fn temp_root(&self) -> &ActorRef<Msg>Reutrns the temp root actor reference
pub fn default_stream(&self) -> &ActorRef<Msg>[src]
pub fn default_stream(&self) -> &ActorRef<Msg>Returns a reference to the default stream channel
pub fn event_stream(&self) -> &ActorRef<Msg>[src]
pub fn event_stream(&self) -> &ActorRef<Msg>Returns a reference to the event stream channel
pub fn dead_letters(&self) -> &ActorRef<Msg>[src]
pub fn dead_letters(&self) -> &ActorRef<Msg>Returns a reference to the dead letters channel
pub fn io_manager(&self) -> &ActorRef<Msg>[src]
pub fn io_manager(&self) -> &ActorRef<Msg>Returns a reference to the IO Manager
pub fn config(&self) -> Config[src]
pub fn config(&self) -> ConfigReturns the Config used by the system
pub fn sys_actor_of(
&self,
props: Arc<Mutex<ActorProducer<Actor = Box<Actor<Msg = Msg> + 'static + Send>> + 'static>>,
name: &str
) -> Result<ActorRef<Msg>, CreateError>[src]
pub fn sys_actor_of(
&self,
props: Arc<Mutex<ActorProducer<Actor = Box<Actor<Msg = Msg> + 'static + Send>> + 'static>>,
name: &str
) -> Result<ActorRef<Msg>, CreateError>Create an actor under the system root
Trait Implementations
impl Deref for SYS
impl Deref for SYStype Target = ActorSystem<Protocol>
The resulting type after dereferencing.
fn deref(&self) -> &ActorSystem<Protocol>
fn deref(&self) -> &ActorSystem<Protocol>Dereferences the value.
impl LazyStatic for SYS
impl LazyStatic for SYSfn initialize(lazy: &Self)
fn initialize(lazy: &Self)Auto Trait Implementations
Blanket Implementations
impl<T> From for T[src]
impl<T> From for Timpl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>try_from)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src]
fn get_type_id(&self) -> TypeId🔬 This is a nightly-only experimental API. (get_type_id)
this method will likely be replaced by an associated static
Gets the TypeId of self. Read more
impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T[src]
fn borrow_mut(&mut self) -> &mut TMutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>try_from)Performs the conversion.
impl<T> Same for T[src]
impl<T> Same for Ttype Output = T
Should always be Self