#[non_exhaustive]pub struct Path<'a> {
pub local_addr: SocketAddress<'a>,
pub local_cid: ConnectionId<'a>,
pub remote_addr: SocketAddress<'a>,
pub remote_cid: ConnectionId<'a>,
pub id: u64,
pub is_active: bool,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.local_addr: SocketAddress<'a>
local_cid: ConnectionId<'a>
remote_addr: SocketAddress<'a>
remote_cid: ConnectionId<'a>
id: u64
is_active: bool
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Path<'a>
impl<'a> Send for Path<'a>
impl<'a> Sync for Path<'a>
impl<'a> Unpin for Path<'a>
impl<'a> UnwindSafe for Path<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more