pub enum ComponentMigrationMode {
Copy,
Drop,
External,
}Expand description
Migration behavior declared by a registered component.
Variants§
Copy
Copy component bytes during owner handoff.
Drop
Drop component bytes during owner handoff.
External
External system owns migration.
Trait Implementations§
Source§impl Clone for ComponentMigrationMode
impl Clone for ComponentMigrationMode
Source§fn clone(&self) -> ComponentMigrationMode
fn clone(&self) -> ComponentMigrationMode
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 ComponentMigrationMode
Source§impl Debug for ComponentMigrationMode
impl Debug for ComponentMigrationMode
impl Eq for ComponentMigrationMode
Source§impl PartialEq for ComponentMigrationMode
impl PartialEq for ComponentMigrationMode
impl StructuralPartialEq for ComponentMigrationMode
Auto Trait Implementations§
impl Freeze for ComponentMigrationMode
impl RefUnwindSafe for ComponentMigrationMode
impl Send for ComponentMigrationMode
impl Sync for ComponentMigrationMode
impl Unpin for ComponentMigrationMode
impl UnsafeUnpin for ComponentMigrationMode
impl UnwindSafe for ComponentMigrationMode
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