pub struct ResponseDecodeWorkspace { /* private fields */ }Expand description
Complete fixed response workspace cleared with its checked guard.
The workspace is intentionally neither Copy nor Clone. Providers may
use only the exact staging slice needed for one decode operation.
ⓘ
use cloud_sdk::transport::ResponseDecodeWorkspace;
fn require_copy<T: Copy>() {}
require_copy::<ResponseDecodeWorkspace>();Implementations§
Source§impl ResponseDecodeWorkspace
impl ResponseDecodeWorkspace
Sourcepub const fn new_for_provider() -> Self
pub const fn new_for_provider() -> Self
Creates an independently cleanup-owning provider decode workspace.
Sourcepub fn decoder_scratch_mut(&mut self) -> &mut [u8] ⓘ
pub fn decoder_scratch_mut(&mut self) -> &mut [u8] ⓘ
Returns decoder scratch storage.
Sourcepub fn cursor_scratch_mut(&mut self) -> &mut [u8] ⓘ
pub fn cursor_scratch_mut(&mut self) -> &mut [u8] ⓘ
Returns reserved cursor staging for the bounded pagination strategies.
v0.38 establishes cleanup ownership; the first consumer is planned for the v0.44 pagination strategy family.
Sourcepub fn provider_link_scratch_mut(&mut self) -> &mut [u8] ⓘ
pub fn provider_link_scratch_mut(&mut self) -> &mut [u8] ⓘ
Returns reserved provider-link staging for validated continuation links.
v0.38 establishes cleanup ownership; the first consumer is planned for the v0.44 pagination strategy family.
Trait Implementations§
Source§impl Debug for ResponseDecodeWorkspace
impl Debug for ResponseDecodeWorkspace
Source§impl Drop for ResponseDecodeWorkspace
impl Drop for ResponseDecodeWorkspace
Auto Trait Implementations§
impl Freeze for ResponseDecodeWorkspace
impl RefUnwindSafe for ResponseDecodeWorkspace
impl Send for ResponseDecodeWorkspace
impl Sync for ResponseDecodeWorkspace
impl Unpin for ResponseDecodeWorkspace
impl UnsafeUnpin for ResponseDecodeWorkspace
impl UnwindSafe for ResponseDecodeWorkspace
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