pub enum ParentAnswer {
Written {
version: Option<String>,
},
Unchanged {
version: Option<String>,
},
VersionMoved {
found: Option<String>,
},
Refused {
reason: String,
},
Missing {
what: NativeId,
},
}Expand description
What became of one ParentWrite.
Variants§
Written
The parent was written; version is the child’s after it, when the write’s answer says.
Unchanged
The child already had that parent, so nothing was written.
VersionMoved
The child was at another version than the one it was held to; nothing was written.
Refused
The source, or its destination, refused this edge alone — a cycle, or a limit on children or depth — and says why.
Missing
The source holds no such child, or no such parent.
Trait Implementations§
Source§impl Clone for ParentAnswer
impl Clone for ParentAnswer
Source§impl Debug for ParentAnswer
impl Debug for ParentAnswer
impl Eq for ParentAnswer
Source§impl PartialEq for ParentAnswer
impl PartialEq for ParentAnswer
impl StructuralPartialEq for ParentAnswer
Auto Trait Implementations§
impl Forget for ParentAnswer
impl Freeze for ParentAnswer
impl Move for ParentAnswer
impl RefUnwindSafe for ParentAnswer
impl Send for ParentAnswer
impl Sync for ParentAnswer
impl Unpin for ParentAnswer
impl UnsafeUnpin for ParentAnswer
impl UnwindSafe for ParentAnswer
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