Struct forest_actor::account::Actor [−][src]
pub struct Actor;
Expand description
Account Actor
Implementations
impl Actor
[src]
impl Actor
[src]pub fn constructor<BS, RT>(
rt: &mut RT,
address: Address
) -> Result<(), ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
[src]
pub fn constructor<BS, RT>(
rt: &mut RT,
address: Address
) -> Result<(), ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
[src]Constructor for Account actor
pub fn pubkey_address<BS, RT>(rt: &mut RT) -> Result<Address, ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
[src]
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>,