Struct dusk_api::EmptyFreight [−][src]
Structure representing an empty Freight implementor, needed
only for FreightProxy configuration
Trait Implementations
impl Freight for EmptyFreight[src]
fn call_function(
&mut self,
_function_number: u64,
_args: Vec<&mut Box<dyn Any>>
) -> Result<Box<dyn Any>, RuntimeError>[src]
&mut self,
_function_number: u64,
_args: Vec<&mut Box<dyn Any>>
) -> Result<Box<dyn Any>, RuntimeError>
fn get_function_list(&mut self) -> Vec<Function>[src]
fn init(
&mut self,
_limitations: &Option<Vec<Limitation>>
) -> Vec<InterplugRequest>[src]
&mut self,
_limitations: &Option<Vec<Limitation>>
) -> Vec<InterplugRequest>
fn update_limitations(&mut self, _limitations: &Vec<Limitation>)[src]
fn interplug_provide(
&mut self,
_request: InterplugRequest,
_freight_proxy: Rc<FreightProxy>
)[src]
&mut self,
_request: InterplugRequest,
_freight_proxy: Rc<FreightProxy>
)
fn interplug_deny(&mut self, _request: InterplugRequest)[src]
fn get_type_list(&mut self) -> Vec<Type>[src]
Auto Trait Implementations
impl RefUnwindSafe for EmptyFreight[src]
impl Send for EmptyFreight[src]
impl Sync for EmptyFreight[src]
impl Unpin for EmptyFreight[src]
impl UnwindSafe for EmptyFreight[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
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.
pub 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>,