pub enum GraphRestoreEntry {
Descriptor(Rc<dyn GraphRestoreDescriptor>),
Definition(GraphRestoreDefinition),
}Expand description
GraphRestoreEntry variants.
Variants§
Descriptor(Rc<dyn GraphRestoreDescriptor>)
Descriptor variant.
Definition(GraphRestoreDefinition)
Definition variant.
Implementations§
Source§impl GraphRestoreEntry
impl GraphRestoreEntry
Sourcepub fn descriptor(d: impl GraphRestoreDescriptor + 'static) -> Self
pub fn descriptor(d: impl GraphRestoreDescriptor + 'static) -> Self
Creates or computes descriptor.
Sourcepub fn definition(d: GraphRestoreDefinition) -> Self
pub fn definition(d: GraphRestoreDefinition) -> Self
Creates or computes definition.
Trait Implementations§
Source§impl Clone for GraphRestoreEntry
impl Clone for GraphRestoreEntry
Source§fn clone(&self) -> GraphRestoreEntry
fn clone(&self) -> GraphRestoreEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GraphRestoreEntry
impl !RefUnwindSafe for GraphRestoreEntry
impl !Send for GraphRestoreEntry
impl !Sync for GraphRestoreEntry
impl Unpin for GraphRestoreEntry
impl UnsafeUnpin for GraphRestoreEntry
impl !UnwindSafe for GraphRestoreEntry
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