Enum noosphere::NoosphereNetwork
source · pub enum NoosphereNetwork {
Http {
gateway_api: Option<Url>,
ipfs_gateway_url: Option<Url>,
},
}Expand description
An enum describing the possible network configurations that are able to be used by the Noosphere implementation
Variants§
Http
Uses an HTTP REST client to interact with various network resources
Trait Implementations§
source§impl Clone for NoosphereNetwork
impl Clone for NoosphereNetwork
source§fn clone(&self) -> NoosphereNetwork
fn clone(&self) -> NoosphereNetwork
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl RefUnwindSafe for NoosphereNetwork
impl Send for NoosphereNetwork
impl Sync for NoosphereNetwork
impl Unpin for NoosphereNetwork
impl UnwindSafe for NoosphereNetwork
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