pub struct WirePreflight { /* private fields */ }Expand description
A resource-only preflight preserves live handles when aliasing or an already-consumed handle would make an encode fail. It contains no value or schema model and does not poll any stream.
Implementations§
Source§impl WirePreflight
impl WirePreflight
pub fn asynchronous() -> WirePreflight
pub fn reject_quota_tokens(&self) -> Result<(), WireError>
Trait Implementations§
Source§impl Default for WirePreflight
impl Default for WirePreflight
Source§fn default() -> WirePreflight
fn default() -> WirePreflight
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Send for WirePreflight
impl !Sync for WirePreflight
impl Freeze for WirePreflight
impl RefUnwindSafe for WirePreflight
impl Unpin for WirePreflight
impl UnsafeUnpin for WirePreflight
impl UnwindSafe for WirePreflight
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