Struct speakeasy_rust_sdk::controller::Controller
source · pub struct Controller<T: Transport> { /* private fields */ }
Implementations§
source§impl<T> Controller<T>where
T: Transport + Send + Clone + 'static,
impl<T> Controller<T>where T: Transport + Send + Clone + 'static,
sourcepub fn set_path_hint(&mut self, path_hint: &str)
pub fn set_path_hint(&mut self, path_hint: &str)
Set the path_hint request
sourcepub fn set_masking(&mut self, masking: Masking)
pub fn set_masking(&mut self, masking: Masking)
Set new masking for the request, see Masking for more
sourcepub fn set_customer_id(&mut self, customer_id: String)
pub fn set_customer_id(&mut self, customer_id: String)
Set new customer_id for the request
sourcepub fn set_max_capture_size(&mut self, max_capture_size: usize)
pub fn set_max_capture_size(&mut self, max_capture_size: usize)
Set new max_capture_size for the request, if the request or response bodies are above this, it will be dropped
Trait Implementations§
source§impl<T: Clone + Transport> Clone for Controller<T>
impl<T: Clone + Transport> Clone for Controller<T>
source§fn clone(&self) -> Controller<T>
fn clone(&self) -> Controller<T>
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 moreAuto Trait Implementations§
impl<T> RefUnwindSafe for Controller<T>where T: RefUnwindSafe,
impl<T> Send for Controller<T>where T: Send,
impl<T> Sync for Controller<T>where T: Sync,
impl<T> Unpin for Controller<T>where T: Unpin,
impl<T> UnwindSafe for Controller<T>where T: UnwindSafe,
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§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