[][src]Struct gun::GunBuilder

pub struct GunBuilder<'a> {
    pub functions: GunFunctions,
    pub options: GunOptions<'a>,
}

Fields

functions: GunFunctionsoptions: GunOptions<'a>

Implementations

impl<'a> GunBuilder<'a>[src]

pub fn new() -> Self[src]

pub fn new_with_options(options: GunOptions<'a>) -> Self[src]

pub fn peers(&mut self, peers: &'a [&str]) -> Self[src]

pub fn radisk(&mut self, radisk: bool) -> Self[src]

pub fn local_storage(&mut self, local_storage: bool) -> Self[src]

pub fn uuid(&mut self, uuid: fn() -> String) -> Self[src]

pub fn build(&self) -> Gun<'_>[src]

Trait Implementations

impl<'a> Clone for GunBuilder<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for GunBuilder<'a>

impl<'a> Send for GunBuilder<'a>

impl<'a> Sync for GunBuilder<'a>

impl<'a> Unpin for GunBuilder<'a>

impl<'a> UnwindSafe for GunBuilder<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,