pub struct OtpSurface<'s> { /* private fields */ }Expand description
One OTP tag: modules, exports and apps only.
Implementations§
Source§impl<'s> OtpSurface<'s>
impl<'s> OtpSurface<'s>
pub fn new( snapshot: &'s Snapshot<Canonical>, excluded: &'s BTreeSet<ApplicationName>, ) -> Self
pub fn module(&self, name: &ModuleName) -> Option<&'s Module>
Sourcepub fn app(&self, app: &ApplicationName) -> OtpAppPresence
pub fn app(&self, app: &ApplicationName) -> OtpAppPresence
An OTP app the snapshot leaves out by configuration ships with OTP all the same, so it is not absent.
Trait Implementations§
Auto Trait Implementations§
impl<'s> Forget for OtpSurface<'s>
impl<'s> Freeze for OtpSurface<'s>
impl<'s> Move for OtpSurface<'s>
impl<'s> RefUnwindSafe for OtpSurface<'s>
impl<'s> Send for OtpSurface<'s>
impl<'s> Sync for OtpSurface<'s>
impl<'s> Unpin for OtpSurface<'s>
impl<'s> UnsafeUnpin for OtpSurface<'s>
impl<'s> UnwindSafe for OtpSurface<'s>
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