pub enum TimeSourceControlRequest {
ConnectPushSource {
push_source: ServerEnd<PushSourceMarker>,
control_handle: TimeSourceControlControlHandle,
},
}
Expand description
A control protocol implemented by a test component. During an integration test, Timekeeper launches and establishes a time source channel to the dev time source. This protocol allows the dev time source to pass a channel to delegate the implementation of the connection to the test component.
Variants§
ConnectPushSource
Forward a PushSource connection.
Implementations§
Source§impl TimeSourceControlRequest
impl TimeSourceControlRequest
pub fn into_connect_push_source( self, ) -> Option<(ServerEnd<PushSourceMarker>, TimeSourceControlControlHandle)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TimeSourceControlRequest
impl !RefUnwindSafe for TimeSourceControlRequest
impl Send for TimeSourceControlRequest
impl Sync for TimeSourceControlRequest
impl Unpin for TimeSourceControlRequest
impl !UnwindSafe for TimeSourceControlRequest
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