pub enum SharedInstance {
Enabled {
name: String,
transport: SharedInstanceTransport,
instance_port: u16,
control_port: u16,
rpc_key: Option<Vec<u8>>,
forced_bitrate: Option<BitrateBps>,
},
Disabled,
}Expand description
Whether the node hosts a shared instance, and on which ports if so.
Variants§
Enabled
The local data bus and its control RPC are served.
Disabled
Trait Implementations§
Source§fn clone(&self) -> SharedInstance
fn clone(&self) -> SharedInstance
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 moreAuto Trait Implementations§
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