pub enum LinkAction {
Export,
Import,
}Expand description
The two grants a crossing needs, one per end.
Variants§
Export
Held by the exporting machine on the link resource.
Import
Held by the importing machine on the link resource.
Implementations§
Source§impl LinkAction
impl LinkAction
Sourcepub const fn access_action(self) -> AccessAction
pub const fn access_action(self) -> AccessAction
The schema action this end’s grant names.
Trait Implementations§
Source§impl Clone for LinkAction
impl Clone for LinkAction
impl Copy for LinkAction
Source§impl Debug for LinkAction
impl Debug for LinkAction
impl Eq for LinkAction
Source§impl From<LinkEnd> for LinkAction
impl From<LinkEnd> for LinkAction
Source§impl PartialEq for LinkAction
impl PartialEq for LinkAction
impl StructuralPartialEq for LinkAction
Auto Trait Implementations§
impl Freeze for LinkAction
impl RefUnwindSafe for LinkAction
impl Send for LinkAction
impl Sync for LinkAction
impl Unpin for LinkAction
impl UnsafeUnpin for LinkAction
impl UnwindSafe for LinkAction
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.