pub struct DeviceBoundSessionFailedRequestBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> DeviceBoundSessionFailedRequestBuilder<'a>
impl<'a> DeviceBoundSessionFailedRequestBuilder<'a>
Sourcepub fn netError(self, netError: impl Into<Cow<'a, str>>) -> Self
pub fn netError(self, netError: impl Into<Cow<'a, str>>) -> Self
The net error of the response if it was not OK.
Sourcepub fn responseError(self, responseError: i64) -> Self
pub fn responseError(self, responseError: i64) -> Self
The response code if the net error was OK and the response code was not 200.
Sourcepub fn responseErrorBody(
self,
responseErrorBody: impl Into<Cow<'a, str>>,
) -> Self
pub fn responseErrorBody( self, responseErrorBody: impl Into<Cow<'a, str>>, ) -> Self
The body of the response if the net error was OK, the response code was not 200, and the response body was not empty.
pub fn build(self) -> DeviceBoundSessionFailedRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for DeviceBoundSessionFailedRequestBuilder<'a>
impl<'a> RefUnwindSafe for DeviceBoundSessionFailedRequestBuilder<'a>
impl<'a> Send for DeviceBoundSessionFailedRequestBuilder<'a>
impl<'a> Sync for DeviceBoundSessionFailedRequestBuilder<'a>
impl<'a> Unpin for DeviceBoundSessionFailedRequestBuilder<'a>
impl<'a> UnsafeUnpin for DeviceBoundSessionFailedRequestBuilder<'a>
impl<'a> UnwindSafe for DeviceBoundSessionFailedRequestBuilder<'a>
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