[−][src]Struct dtn7::core::DtnCore
Fields
endpoints: Vec<Box<dyn ApplicationAgent + Send>>
cl_list: Vec<Box<dyn ConvergencyLayerAgent>>
routing_agent: Box<dyn RoutingAgent>
Methods
impl DtnCore
[src]
pub fn new() -> DtnCore
[src]
pub fn register_application_agent<T: 'static + ApplicationAgent + Send>(
&mut self,
aa: T
)
[src]
&mut self,
aa: T
)
pub fn unregister_application_agent<T: 'static + ApplicationAgent>(
&mut self,
aa: T
)
[src]
&mut self,
aa: T
)
pub fn eids(&self) -> Vec<String>
[src]
pub fn bundles(&self) -> Vec<String>
[src]
pub fn get_endpoint_mut(
&mut self,
eid: &EndpointID
) -> Option<&mut Box<dyn ApplicationAgent + Send>>
[src]
&mut self,
eid: &EndpointID
) -> Option<&mut Box<dyn ApplicationAgent + Send>>
pub fn get_endpoint(
&self,
eid: &EndpointID
) -> Option<&Box<dyn ApplicationAgent + Send>>
[src]
&self,
eid: &EndpointID
) -> Option<&Box<dyn ApplicationAgent + Send>>
Trait Implementations
Auto Trait Implementations
impl Send for DtnCore
impl Unpin for DtnCore
impl !Sync for DtnCore
impl !UnwindSafe for DtnCore
impl !RefUnwindSafe for DtnCore
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,