pub trait ZoneObj {
Show 14 methods
fn create(
owner: ObjectId,
ood_work_mode: OODWorkMode,
ood_list: Vec<DeviceId>,
known_device_list: Vec<DeviceId>
) -> Self;
fn owner(&self) -> &ObjectId;
fn ood_work_mode(&self) -> &OODWorkMode;
fn set_ood_work_mode(&mut self, work_mode: OODWorkMode);
fn ood(&self) -> &DeviceId;
fn ood_list(&self) -> &Vec<DeviceId>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator, ;
fn ood_list_mut(&mut self) -> &mut Vec<DeviceId>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator, ;
fn ood_index(&self, device_id: &DeviceId) -> BuckyResult<usize>;
fn known_device_list(&self) -> &Vec<DeviceId>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator, ;
fn known_device_list_mut(&mut self) -> &mut Vec<DeviceId>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator, ;
fn device_index(&self, device_id: &DeviceId) -> BuckyResult<usize>;
fn zone_id(&self) -> ZoneId;
fn is_ood(&self, device_id: &DeviceId) -> bool;
fn is_known_device(&self, device_id: &DeviceId) -> bool;
}Required Methods
fn create(
owner: ObjectId,
ood_work_mode: OODWorkMode,
ood_list: Vec<DeviceId>,
known_device_list: Vec<DeviceId>
) -> Self
fn ood_work_mode(&self) -> &OODWorkMode
fn set_ood_work_mode(&mut self, work_mode: OODWorkMode)
fn ood_list(&self) -> &Vec<DeviceId>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn ood_list_mut(&mut self) -> &mut Vec<DeviceId>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn ood_index(&self, device_id: &DeviceId) -> BuckyResult<usize>
fn known_device_list(&self) -> &Vec<DeviceId>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn known_device_list_mut(&mut self) -> &mut Vec<DeviceId>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,