Struct forest_actor::util::chaos::Actor [−][src]
pub struct Actor;
Expand description
Chaos Actor
Implementations
impl Actor
[src]
impl Actor
[src]pub fn send<BS, RT>(
rt: &mut RT,
arg: SendArgs
) -> Result<SendReturn, ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
[src]
rt: &mut RT,
arg: SendArgs
) -> Result<SendReturn, ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
pub fn constructor<BS, RT>(_rt: &mut RT) where
BS: BlockStore,
RT: Runtime<BS>,
[src]
pub fn constructor<BS, RT>(_rt: &mut RT) where
BS: BlockStore,
RT: Runtime<BS>,
[src]Constructor for Account actor
pub fn caller_validation<BS, RT>(
rt: &mut RT,
args: CallerValidationArgs
) -> Result<(), ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
[src]
pub fn caller_validation<BS, RT>(
rt: &mut RT,
args: CallerValidationArgs
) -> Result<(), ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
[src]CallerValidation violates VM call validation constraints.
CALLER_VALIDATION_BRANCH_NONE performs no validation. CALLER_VALIDATION_BRANCH_TWICE validates twice. CALLER_VALIDATION_BRANCH_IS_ADDRESS validates against an empty caller address set. CALLER_VALIDATION_BRANCH_IS_TYPE validates against an empty caller type set.
pub fn create_actor<BS, RT>(
rt: &mut RT,
arg: CreateActorArgs
) -> Result<(), ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
[src]
rt: &mut RT,
arg: CreateActorArgs
) -> Result<(), ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
pub fn resolve_address<BS, RT>(
rt: &mut RT,
args: Address
) -> Result<ResolveAddressResponse, ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
[src]
pub fn resolve_address<BS, RT>(
rt: &mut RT,
args: Address
) -> Result<ResolveAddressResponse, ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
[src]Resolves address, and returns the resolved address (defaulting to 0 ID) and success boolean.
pub fn delete_actor<BS, RT>(
rt: &mut RT,
beneficiary: Address
) -> Result<(), ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
[src]
rt: &mut RT,
beneficiary: Address
) -> Result<(), ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
pub fn mutate_state<BS, RT>(
rt: &mut RT,
arg: MutateStateArgs
) -> Result<(), ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
[src]
rt: &mut RT,
arg: MutateStateArgs
) -> Result<(), ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
pub fn abort_with(arg: AbortWithArgs) -> Result<(), ActorError>
[src]
pub fn inspect_runtime<BS, RT>(
rt: &mut RT
) -> Result<InspectRuntimeReturn, ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
[src]
rt: &mut RT
) -> Result<InspectRuntimeReturn, ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
Trait Implementations
impl ActorCode for Actor
[src]
impl ActorCode for Actor
[src]fn invoke_method<BS, RT>(
rt: &mut RT,
method: MethodNum,
params: &Serialized
) -> Result<Serialized, ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
[src]
fn invoke_method<BS, RT>(
rt: &mut RT,
method: MethodNum,
params: &Serialized
) -> Result<Serialized, ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
[src]Invokes method with runtime on the actor’s code. Method number will match one defined by the Actor, and parameters will be serialized and used in execution Read more
Auto Trait Implementations
impl RefUnwindSafe for Actor
impl Send for Actor
impl Sync for Actor
impl Unpin for Actor
impl UnwindSafe for Actor
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,