pub struct Controller<T: Transport> { /* private fields */ }
Implementations§
Source§impl<T> Controller<T>
impl<T> Controller<T>
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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<T> !Freeze for Controller<T>
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> 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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