pub struct NtSubscription<'nt> {
pub(crate) conn: &'nt NtConn,
pub(crate) subuid: i32,
}
Expand description
A NetworkTables subscription
This structure represents a subscription to a topic on the NetworkTables server. It is automatically unsubscribed when this structure is dropped.
Fields§
§conn: &'nt NtConn
§subuid: i32
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'nt> Freeze for NtSubscription<'nt>
impl<'nt> !RefUnwindSafe for NtSubscription<'nt>
impl<'nt> Send for NtSubscription<'nt>
impl<'nt> Sync for NtSubscription<'nt>
impl<'nt> Unpin for NtSubscription<'nt>
impl<'nt> !UnwindSafe for NtSubscription<'nt>
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