pub struct Path { /* private fields */ }Implementations§
Source§impl Path
impl Path
pub fn status(&self) -> PathStatus
pub fn unsatisfied_reason(&self) -> PathUnsatisfiedReason
pub fn is_expensive(&self) -> bool
pub fn is_constrained(&self) -> bool
pub fn is_ultra_constrained(&self) -> bool
pub fn has_ipv4(&self) -> bool
pub fn has_ipv6(&self) -> bool
pub fn has_dns(&self) -> bool
pub fn uses_interface_type(&self, interface_type: InterfaceType) -> bool
pub fn effective_local_endpoint(&self) -> Option<Endpoint>
pub fn effective_remote_endpoint(&self) -> Option<Endpoint>
pub fn link_quality(&self) -> LinkQuality
pub fn interfaces(&self) -> Vec<NetworkInterface>
Trait Implementations§
impl Eq for Path
impl Send for Path
impl Sync for Path
Auto Trait Implementations§
impl Freeze for Path
impl RefUnwindSafe for Path
impl Unpin for Path
impl UnsafeUnpin for Path
impl UnwindSafe for Path
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