pub struct TransportExposure { /* private fields */ }Expand description
One capability exposed through a transport binding.
Implementations§
Source§impl TransportExposure
impl TransportExposure
Sourcepub fn descriptor(&self) -> &'static CapabilityDescriptor
pub fn descriptor(&self) -> &'static CapabilityDescriptor
Returns the exact descriptor selected for this exposure.
Sourcepub fn level(&self) -> ExposureLevel
pub fn level(&self) -> ExposureLevel
Returns the boundary level selected for this exposure.
Trait Implementations§
Source§impl Clone for TransportExposure
impl Clone for TransportExposure
Source§fn clone(&self) -> TransportExposure
fn clone(&self) -> TransportExposure
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for TransportExposure
impl !UnwindSafe for TransportExposure
impl Freeze for TransportExposure
impl Send for TransportExposure
impl Sync for TransportExposure
impl Unpin for TransportExposure
impl UnsafeUnpin for TransportExposure
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