Trait cyfs_lib::AdminObj

source ·
pub trait AdminObj {
    // Required methods
    fn create(owner: ObjectId, target: DeviceId, cmd: AdminCommand) -> Self;
    fn target(&self) -> &DeviceId;
    fn into_command(self) -> AdminCommand;
}

Required Methods§

source

fn create(owner: ObjectId, target: DeviceId, cmd: AdminCommand) -> Self

source

fn target(&self) -> &DeviceId

source

fn into_command(self) -> AdminCommand

Implementors§