pub enum BuilderEntry {
Network(NetworkObj),
NetworkGroup(NetworkObjGroup),
Service(ServiceObj),
ServiceGroup(ServiceObjGroup),
Application(ApplicationObj),
}Expand description
Unified wrapper returned by the builders so ObjectStore::add
can accept any object or builder directly.
Variants§
Network(NetworkObj)
NetworkGroup(NetworkObjGroup)
Service(ServiceObj)
ServiceGroup(ServiceObjGroup)
Application(ApplicationObj)
Trait Implementations§
Source§impl Clone for BuilderEntry
impl Clone for BuilderEntry
Source§fn clone(&self) -> BuilderEntry
fn clone(&self) -> BuilderEntry
Returns a duplicate 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 moreSource§impl Debug for BuilderEntry
impl Debug for BuilderEntry
Source§impl From<ApplicationObj> for BuilderEntry
impl From<ApplicationObj> for BuilderEntry
Source§fn from(app: ApplicationObj) -> Self
fn from(app: ApplicationObj) -> Self
Converts to this type from the input type.
Source§impl From<NetworkObj> for BuilderEntry
impl From<NetworkObj> for BuilderEntry
Source§fn from(obj: NetworkObj) -> Self
fn from(obj: NetworkObj) -> Self
Converts to this type from the input type.
Source§impl From<NetworkObjGroup> for BuilderEntry
impl From<NetworkObjGroup> for BuilderEntry
Source§fn from(group: NetworkObjGroup) -> Self
fn from(group: NetworkObjGroup) -> Self
Converts to this type from the input type.
Source§impl From<ServiceObj> for BuilderEntry
impl From<ServiceObj> for BuilderEntry
Source§fn from(obj: ServiceObj) -> Self
fn from(obj: ServiceObj) -> Self
Converts to this type from the input type.
Source§impl From<ServiceObjGroup> for BuilderEntry
impl From<ServiceObjGroup> for BuilderEntry
Source§fn from(group: ServiceObjGroup) -> Self
fn from(group: ServiceObjGroup) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BuilderEntry
impl RefUnwindSafe for BuilderEntry
impl Send for BuilderEntry
impl Sync for BuilderEntry
impl Unpin for BuilderEntry
impl UnwindSafe for BuilderEntry
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