pub struct NativeServiceSet {
pub fs: bool,
pub archive: bool,
pub tcp: bool,
pub websocket: bool,
pub sqlite: bool,
pub system: bool,
}Fields§
§fs: bool§archive: bool§tcp: bool§websocket: bool§sqlite: bool§system: boolImplementations§
Source§impl NativeServiceSet
impl NativeServiceSet
pub const fn all() -> Self
pub const fn runtime_only() -> Self
pub fn capabilities(self) -> Vec<&'static str>
Trait Implementations§
Source§impl Clone for NativeServiceSet
impl Clone for NativeServiceSet
Source§fn clone(&self) -> NativeServiceSet
fn clone(&self) -> NativeServiceSet
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 NativeServiceSet
Source§impl Debug for NativeServiceSet
impl Debug for NativeServiceSet
Source§impl Default for NativeServiceSet
impl Default for NativeServiceSet
impl Eq for NativeServiceSet
Source§impl PartialEq for NativeServiceSet
impl PartialEq for NativeServiceSet
Source§fn eq(&self, other: &NativeServiceSet) -> bool
fn eq(&self, other: &NativeServiceSet) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NativeServiceSet
Auto Trait Implementations§
impl Freeze for NativeServiceSet
impl RefUnwindSafe for NativeServiceSet
impl Send for NativeServiceSet
impl Sync for NativeServiceSet
impl Unpin for NativeServiceSet
impl UnsafeUnpin for NativeServiceSet
impl UnwindSafe for NativeServiceSet
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
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.