pub enum Blocked {
NeedsAdopt,
TargetOccupied,
ForeignLink {
current: LinkTarget,
},
Unsupported {
node: NodeKind,
},
}Expand description
Situations that require the user to choose.
Variants§
NeedsAdopt
The target holds real content and the canonical location is free.
Running agentlink adopt would move it and link back.
TargetOccupied
Both the target and the canonical location hold content. Only a human can decide how to merge them.
ForeignLink
A link exists that agentlink did not create, pointing somewhere else.
Fields
§
current: LinkTargetUnsupported
The host cannot create the required link and the provider declares no fallback.
Trait Implementations§
impl Eq for Blocked
impl StructuralPartialEq for Blocked
Auto Trait Implementations§
impl Freeze for Blocked
impl RefUnwindSafe for Blocked
impl Send for Blocked
impl Sync for Blocked
impl Unpin for Blocked
impl UnsafeUnpin for Blocked
impl UnwindSafe for Blocked
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