Struct thor::FragmentSenderSetupBuilder
source · pub struct FragmentSenderSetupBuilder<'a, S: SyncNode + Send> {
setup: FragmentSenderSetup<'a, S>,
}
Fields§
§setup: FragmentSenderSetup<'a, S>
Implementations§
source§impl<'a, S: SyncNode + Send> FragmentSenderSetupBuilder<'a, S>
impl<'a, S: SyncNode + Send> FragmentSenderSetupBuilder<'a, S>
pub fn from(setup: FragmentSenderSetup<'a, S>) -> Self
pub fn new() -> Self
pub fn resend_on_error(&mut self, count: u8) -> &mut Self
pub fn sync_nodes(&mut self, sync_nodes: Vec<&'a S>) -> &mut Self
pub fn ignore_any_errors(&mut self) -> &mut Self
pub fn stop_at_error(&mut self) -> &mut Self
pub fn dump_fragments_into(&mut self, path: PathBuf) -> &mut Self
pub fn fire_and_forget(&mut self) -> &mut Self
pub fn build(self) -> FragmentSenderSetup<'a, S>
Trait Implementations§
source§impl<'a, S: SyncNode + Send> From<FragmentSenderSetupBuilder<'a, S>> for FragmentSenderSetup<'a, S>
impl<'a, S: SyncNode + Send> From<FragmentSenderSetupBuilder<'a, S>> for FragmentSenderSetup<'a, S>
source§fn from(
builder: FragmentSenderSetupBuilder<'a, S>
) -> FragmentSenderSetup<'a, S>
fn from( builder: FragmentSenderSetupBuilder<'a, S> ) -> FragmentSenderSetup<'a, S>
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a, S> !RefUnwindSafe for FragmentSenderSetupBuilder<'a, S>
impl<'a, S> Send for FragmentSenderSetupBuilder<'a, S>where S: Sync,
impl<'a, S> Sync for FragmentSenderSetupBuilder<'a, S>where S: Sync,
impl<'a, S> Unpin for FragmentSenderSetupBuilder<'a, S>
impl<'a, S> !UnwindSafe for FragmentSenderSetupBuilder<'a, S>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request