pub struct PublishOptions { /* private fields */ }
Expand description
Optional settings for serving fuchsia.inspect.Tree
Implementations§
Source§impl PublishOptions
impl PublishOptions
Sourcepub fn send_vmo_preference(self, preference: TreeServerSendPreference) -> Self
pub fn send_vmo_preference(self, preference: TreeServerSendPreference) -> Self
This specifies how the VMO should be sent over the fuchsia.inspect.Tree
server.
Default behavior is
TreeServerSendPreference::Frozen { on_failure: TreeServerSendPreference::Live }
.
Sourcepub fn inspect_tree_name(self, name: impl Into<String>) -> Self
pub fn inspect_tree_name(self, name: impl Into<String>) -> Self
This sets an optional name value which will show up in the metadata of snapshots
taken from this fuchsia.inspect.Tree
server.
Default behavior is an empty string.
Sourcepub fn on_inspect_sink_client(
self,
client: ClientEnd<InspectSinkMarker>,
) -> Self
pub fn on_inspect_sink_client( self, client: ClientEnd<InspectSinkMarker>, ) -> Self
This allows the client to provide the InspectSink client channel.
Trait Implementations§
Source§impl Default for PublishOptions
impl Default for PublishOptions
Source§fn default() -> PublishOptions
fn default() -> PublishOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PublishOptions
impl RefUnwindSafe for PublishOptions
impl Send for PublishOptions
impl Sync for PublishOptions
impl Unpin for PublishOptions
impl UnwindSafe for PublishOptions
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