pub struct HolderRecord {
pub program: String,
pub port: Option<u16>,
pub since: u64,
}Expand description
What the holder of the sync role records of itself.
Fields§
§program: StringThe program that holds the role, as it names itself.
port: Option<u16>The UDP port its endpoint takes connections on, or None while it runs none, as
while another program borrows the network to pair.
since: u64Since when it holds the role.
Trait Implementations§
Source§impl Clone for HolderRecord
impl Clone for HolderRecord
Source§impl Debug for HolderRecord
impl Debug for HolderRecord
impl Eq for HolderRecord
Source§impl PartialEq for HolderRecord
impl PartialEq for HolderRecord
impl StructuralPartialEq for HolderRecord
Auto Trait Implementations§
impl Forget for HolderRecord
impl Freeze for HolderRecord
impl Move for HolderRecord
impl RefUnwindSafe for HolderRecord
impl Send for HolderRecord
impl Sync for HolderRecord
impl Unpin for HolderRecord
impl UnsafeUnpin for HolderRecord
impl UnwindSafe for HolderRecord
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.