pub enum GnsLocalOptions {
Default,
NoDht,
LocalMaster,
}Expand description
Где искать записи (enum GNUNET_GNS_LocalOptions).
Variants§
Default
Локальные зоны, кеш и DHT.
NoDht
Только локальные данные, без DHT.
LocalMaster
Для имён собственной зоны — только локально, для остальных — DHT.
Trait Implementations§
Source§impl Clone for GnsLocalOptions
impl Clone for GnsLocalOptions
Source§fn clone(&self) -> GnsLocalOptions
fn clone(&self) -> GnsLocalOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GnsLocalOptions
Source§impl Debug for GnsLocalOptions
impl Debug for GnsLocalOptions
Source§impl Default for GnsLocalOptions
impl Default for GnsLocalOptions
Source§fn default() -> GnsLocalOptions
fn default() -> GnsLocalOptions
Returns the “default value” for a type. Read more
impl Eq for GnsLocalOptions
Source§impl PartialEq for GnsLocalOptions
impl PartialEq for GnsLocalOptions
impl StructuralPartialEq for GnsLocalOptions
Auto Trait Implementations§
impl Freeze for GnsLocalOptions
impl RefUnwindSafe for GnsLocalOptions
impl Send for GnsLocalOptions
impl Sync for GnsLocalOptions
impl Unpin for GnsLocalOptions
impl UnsafeUnpin for GnsLocalOptions
impl UnwindSafe for GnsLocalOptions
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