pub enum BufferCreateOutcome {
Admitted(ObjectId),
CleanupRequired {
id: ObjectId,
error: BackendError,
},
}Expand description
Result of allocating provider backing before its guest-visible ID is published.
CleanupRequired retains the object in the state graph so the command engine can release it
through the provider’s ownership boundary. The ID must never be exposed to the guest.
Variants§
Trait Implementations§
Source§impl Clone for BufferCreateOutcome
impl Clone for BufferCreateOutcome
Source§fn clone(&self) -> BufferCreateOutcome
fn clone(&self) -> BufferCreateOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BufferCreateOutcome
Source§impl Debug for BufferCreateOutcome
impl Debug for BufferCreateOutcome
impl Eq for BufferCreateOutcome
Source§impl PartialEq for BufferCreateOutcome
impl PartialEq for BufferCreateOutcome
impl StructuralPartialEq for BufferCreateOutcome
Auto Trait Implementations§
impl Freeze for BufferCreateOutcome
impl RefUnwindSafe for BufferCreateOutcome
impl Send for BufferCreateOutcome
impl Sync for BufferCreateOutcome
impl Unpin for BufferCreateOutcome
impl UnsafeUnpin for BufferCreateOutcome
impl UnwindSafe for BufferCreateOutcome
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