pub struct AllForOneStrategy {
pub max_retries: Option<u32>,
pub within: Option<Duration>,
pub decider: Decider,
}Expand description
Builder for AllForOne.
Fields§
§max_retries: Option<u32>§within: Option<Duration>§decider: DeciderTrait Implementations§
Source§impl Default for AllForOneStrategy
impl Default for AllForOneStrategy
Source§impl From<AllForOneStrategy> for SupervisorStrategy
impl From<AllForOneStrategy> for SupervisorStrategy
Source§fn from(o: AllForOneStrategy) -> Self
fn from(o: AllForOneStrategy) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AllForOneStrategy
impl !RefUnwindSafe for AllForOneStrategy
impl Send for AllForOneStrategy
impl Sync for AllForOneStrategy
impl Unpin for AllForOneStrategy
impl UnsafeUnpin for AllForOneStrategy
impl !UnwindSafe for AllForOneStrategy
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