Struct border_async_trainer::ActorManagerConfig
source · pub struct ActorManagerConfig {
pub n_buffer: usize,
}
Expand description
Configuration of ActorManager
.
Fields§
§n_buffer: usize
Number of samples to be buffered in each actor until being pushed to the replay buffer.
The default value is 100.
Trait Implementations§
source§impl Clone for ActorManagerConfig
impl Clone for ActorManagerConfig
source§fn clone(&self) -> ActorManagerConfig
fn clone(&self) -> ActorManagerConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ActorManagerConfig
impl Debug for ActorManagerConfig
source§impl Default for ActorManagerConfig
impl Default for ActorManagerConfig
source§impl<'de> Deserialize<'de> for ActorManagerConfig
impl<'de> Deserialize<'de> for ActorManagerConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ActorManagerConfig
impl Send for ActorManagerConfig
impl Sync for ActorManagerConfig
impl Unpin for ActorManagerConfig
impl UnwindSafe for ActorManagerConfig
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