Struct mesos::proto::mesos::TaskStatus
[−]
[src]
pub struct TaskStatus { // some fields omitted }
Methods
impl TaskStatus
[src]
fn new() -> TaskStatus
fn default_instance() -> &'static TaskStatus
fn clear_task_id(&mut self)
fn has_task_id(&self) -> bool
fn set_task_id(&mut self, v: TaskID)
fn mut_task_id<'a>(&'a mut self) -> &'a mut TaskID
fn take_task_id(&mut self) -> TaskID
fn get_task_id<'a>(&'a self) -> &'a TaskID
fn clear_state(&mut self)
fn has_state(&self) -> bool
fn set_state(&mut self, v: TaskState)
fn get_state<'a>(&self) -> TaskState
fn clear_message(&mut self)
fn has_message(&self) -> bool
fn set_message(&mut self, v: String)
fn mut_message<'a>(&'a mut self) -> &'a mut String
fn take_message(&mut self) -> String
fn get_message<'a>(&'a self) -> &'a str
fn clear_source(&mut self)
fn has_source(&self) -> bool
fn set_source(&mut self, v: TaskStatus_Source)
fn get_source<'a>(&self) -> TaskStatus_Source
fn clear_reason(&mut self)
fn has_reason(&self) -> bool
fn set_reason(&mut self, v: TaskStatus_Reason)
fn get_reason<'a>(&self) -> TaskStatus_Reason
fn clear_data(&mut self)
fn has_data(&self) -> bool
fn set_data(&mut self, v: Vec<u8>)
fn mut_data<'a>(&'a mut self) -> &'a mut Vec<u8>
fn take_data(&mut self) -> Vec<u8>
fn get_data<'a>(&'a self) -> &'a [u8]
fn clear_agent_id(&mut self)
fn has_agent_id(&self) -> bool
fn set_agent_id(&mut self, v: AgentID)
fn mut_agent_id<'a>(&'a mut self) -> &'a mut AgentID
fn take_agent_id(&mut self) -> AgentID
fn get_agent_id<'a>(&'a self) -> &'a AgentID
fn clear_executor_id(&mut self)
fn has_executor_id(&self) -> bool
fn set_executor_id(&mut self, v: ExecutorID)
fn mut_executor_id<'a>(&'a mut self) -> &'a mut ExecutorID
fn take_executor_id(&mut self) -> ExecutorID
fn get_executor_id<'a>(&'a self) -> &'a ExecutorID
fn clear_timestamp(&mut self)
fn has_timestamp(&self) -> bool
fn set_timestamp(&mut self, v: f64)
fn get_timestamp<'a>(&self) -> f64
fn clear_uuid(&mut self)
fn has_uuid(&self) -> bool
fn set_uuid(&mut self, v: Vec<u8>)
fn mut_uuid<'a>(&'a mut self) -> &'a mut Vec<u8>
fn take_uuid(&mut self) -> Vec<u8>
fn get_uuid<'a>(&'a self) -> &'a [u8]
fn clear_healthy(&mut self)
fn has_healthy(&self) -> bool
fn set_healthy(&mut self, v: bool)
fn get_healthy<'a>(&self) -> bool
fn clear_labels(&mut self)
fn has_labels(&self) -> bool
fn set_labels(&mut self, v: Labels)
fn mut_labels<'a>(&'a mut self) -> &'a mut Labels
fn take_labels(&mut self) -> Labels
fn get_labels<'a>(&'a self) -> &'a Labels
Trait Implementations
impl Default for TaskStatus
[src]
fn default() -> TaskStatus
Returns the "default value" for a type. Read more
impl Clone for TaskStatus
[src]
fn clone(&self) -> TaskStatus
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Message for TaskStatus
[src]
fn is_initialized(&self) -> bool
fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>
fn compute_size(&self) -> u32
fn write_to_with_cached_sizes(&self, os: &mut CodedOutputStream) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32
fn get_unknown_fields<'s>(&'s self) -> &'s UnknownFields
fn mut_unknown_fields<'s>(&'s mut self) -> &'s mut UnknownFields
fn type_id(&self) -> TypeId
fn as_any(&self) -> &Any
fn descriptor(&self) -> &'static MessageDescriptor
fn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>
fn write_length_delimited_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
fn check_initialized(&self) -> Result<(), ProtobufError>
fn write_to_writer(&self, w: &mut Write) -> Result<(), ProtobufError>
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn write_length_delimited_to_writer(&self, w: &mut Write) -> Result<(), ProtobufError>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
impl MessageStatic for TaskStatus
[src]
fn new() -> TaskStatus
fn descriptor_static(_: Option<TaskStatus>) -> &'static MessageDescriptor
impl Clear for TaskStatus
[src]
fn clear(&mut self)
impl PartialEq for TaskStatus
[src]
fn eq(&self, other: &TaskStatus) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.