pub struct Response<'a> {
pub data: &'a [u8],
pub kind: StunClass,
pub relay: Option<SocketAddr>,
pub interface: Option<SocketAddr>,
}
Fields§
§data: &'a [u8]
§kind: StunClass
§relay: Option<SocketAddr>
§interface: Option<SocketAddr>
Auto Trait Implementations§
impl<'a> Freeze for Response<'a>
impl<'a> RefUnwindSafe for Response<'a>
impl<'a> Send for Response<'a>
impl<'a> Sync for Response<'a>
impl<'a> Unpin for Response<'a>
impl<'a> UnwindSafe for Response<'a>
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