Struct xray_lite::AwsNamespace
source · pub struct AwsNamespace { /* private fields */ }
Expand description
Namespace for an AWS service.
Implementations§
source§impl AwsNamespace
impl AwsNamespace
sourcepub fn new(service: impl Into<String>, operation: impl Into<String>) -> Self
pub fn new(service: impl Into<String>, operation: impl Into<String>) -> Self
Creates a namespace for an AWS service operation.
sourcepub fn request_id(&mut self, request_id: impl Into<String>) -> &mut Self
pub fn request_id(&mut self, request_id: impl Into<String>) -> &mut Self
Sets the request ID.
sourcepub fn response_status(&mut self, status: u16) -> &mut Self
pub fn response_status(&mut self, status: u16) -> &mut Self
Sets the response status.
Trait Implementations§
source§impl Debug for AwsNamespace
impl Debug for AwsNamespace
source§impl Namespace for AwsNamespace
impl Namespace for AwsNamespace
source§fn update_subsegment(&self, subsegment: &mut Subsegment)
fn update_subsegment(&self, subsegment: &mut Subsegment)
Updates the subsegment.
Auto Trait Implementations§
impl RefUnwindSafe for AwsNamespace
impl Send for AwsNamespace
impl Sync for AwsNamespace
impl Unpin for AwsNamespace
impl UnwindSafe for AwsNamespace
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