pub trait Link: Debug + 'static {
type Id: Debug + Hash + Eq + PartialEq;
// Required methods
fn id(&self) -> Self::Id;
fn detach(self) -> Result<(), ProgramError>;
}Expand description
A Link.
Required Associated Types§
Required Methods§
Sourcefn detach(self) -> Result<(), ProgramError>
fn detach(self) -> Result<(), ProgramError>
Detaches the LinkOwnedLink is gone… but this doesn’t work :(