pub struct TenantDataRangeTargetBytes(/* private fields */);Expand description
Validated maximum response bytes for one range request.
Implementations§
Source§impl TenantDataRangeTargetBytes
impl TenantDataRangeTargetBytes
Sourcepub fn new(bytes: usize) -> Result<Self, TenantDataAccessErrorReason>
pub fn new(bytes: usize) -> Result<Self, TenantDataAccessErrorReason>
Rejects unbounded or empty response targets.
Trait Implementations§
Source§impl Clone for TenantDataRangeTargetBytes
impl Clone for TenantDataRangeTargetBytes
impl Copy for TenantDataRangeTargetBytes
Auto Trait Implementations§
impl Freeze for TenantDataRangeTargetBytes
impl RefUnwindSafe for TenantDataRangeTargetBytes
impl Send for TenantDataRangeTargetBytes
impl Sync for TenantDataRangeTargetBytes
impl Unpin for TenantDataRangeTargetBytes
impl UnsafeUnpin for TenantDataRangeTargetBytes
impl UnwindSafe for TenantDataRangeTargetBytes
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