pub struct DatastoreQueue {
pub priority: u32,
pub max_size: u32,
}Expand description
Место запроса в локальной очереди клиента.
Fields§
§priority: u32Чем больше, тем раньше запрос уйдёт сервису.
max_size: u32Запрос отклоняется (QueueFull), если перед ним в очереди уже
столько запросов с не меньшим приоритетом.
Trait Implementations§
Source§impl Clone for DatastoreQueue
impl Clone for DatastoreQueue
Source§fn clone(&self) -> DatastoreQueue
fn clone(&self) -> DatastoreQueue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DatastoreQueue
Source§impl Debug for DatastoreQueue
impl Debug for DatastoreQueue
Auto Trait Implementations§
impl Freeze for DatastoreQueue
impl RefUnwindSafe for DatastoreQueue
impl Send for DatastoreQueue
impl Sync for DatastoreQueue
impl Unpin for DatastoreQueue
impl UnsafeUnpin for DatastoreQueue
impl UnwindSafe for DatastoreQueue
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more