pub struct FileExplorerViewProvider { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for FileExplorerViewProvider
impl Clone for FileExplorerViewProvider
Source§fn clone(&self) -> FileExplorerViewProvider
fn clone(&self) -> FileExplorerViewProvider
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl TreeViewProvider for FileExplorerViewProvider
impl TreeViewProvider for FileExplorerViewProvider
Source§fn GetChildren<'life0, 'async_trait>(
&'life0 self,
_ViewIdentifier: String,
ElementHandle: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<Vec<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn GetChildren<'life0, 'async_trait>(
&'life0 self,
_ViewIdentifier: String,
ElementHandle: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<Vec<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Retrieves the children for a given directory URI.
Source§fn GetTreeItem<'life0, 'async_trait>(
&'life0 self,
_ViewIdentifier: String,
ElementHandle: String,
) -> Pin<Box<dyn Future<Output = Result<Value, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn GetTreeItem<'life0, 'async_trait>(
&'life0 self,
_ViewIdentifier: String,
ElementHandle: String,
) -> Pin<Box<dyn Future<Output = Result<Value, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Retrieves the TreeItem for a given handle (which is its URI).
Source§fn RegisterTreeDataProvider<'life0, 'async_trait>(
&'life0 self,
_ViewIdentifier: String,
_Options: Value,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn RegisterTreeDataProvider<'life0, 'async_trait>(
&'life0 self,
_ViewIdentifier: String,
_Options: Value,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Informs the host that a new tree data provider has been registered by
an extension. The host should prepare to display a tree view with the
given ID and options. Read more
Source§fn UnregisterTreeDataProvider<'life0, 'async_trait>(
&'life0 self,
_ViewIdentifier: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn UnregisterTreeDataProvider<'life0, 'async_trait>(
&'life0 self,
_ViewIdentifier: String,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Informs the host that a tree data provider has been disposed of. Read more
Source§fn RevealTreeItem<'life0, 'async_trait>(
&'life0 self,
_ViewIdentifier: String,
_ItemHandle: String,
_Options: Value,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn RevealTreeItem<'life0, 'async_trait>(
&'life0 self,
_ViewIdentifier: String,
_ItemHandle: String,
_Options: Value,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Asks the host UI to reveal and/or expand a specific item in a tree view. Read more
Source§fn RefreshTreeView<'life0, 'async_trait>(
&'life0 self,
_ViewIdentifier: String,
_ItemsToRefresh: Option<Value>,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn RefreshTreeView<'life0, 'async_trait>(
&'life0 self,
_ViewIdentifier: String,
_ItemsToRefresh: Option<Value>,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Notifies the host that some or all of the data in a tree view has
changed and needs to be re-fetched and re-rendered. Read more
Source§fn SetTreeViewMessage<'life0, 'async_trait>(
&'life0 self,
_ViewIdentifier: String,
_Message: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn SetTreeViewMessage<'life0, 'async_trait>(
&'life0 self,
_ViewIdentifier: String,
_Message: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Sets a message to be displayed in the tree view’s empty state. Read more
Source§fn SetTreeViewTitle<'life0, 'async_trait>(
&'life0 self,
_ViewIdentifier: String,
_Title: Option<String>,
_Description: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn SetTreeViewTitle<'life0, 'async_trait>(
&'life0 self,
_ViewIdentifier: String,
_Title: Option<String>,
_Description: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Sets the title and description of the tree view container. Read more
Source§fn SetTreeViewBadge<'life0, 'async_trait>(
&'life0 self,
_ViewIdentifier: String,
_BadgeValue: Option<Value>,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn SetTreeViewBadge<'life0, 'async_trait>(
&'life0 self,
_ViewIdentifier: String,
_BadgeValue: Option<Value>,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Sets a badge (e.g., a number) on the tree view’s container icon. Read more
impl Environment for FileExplorerViewProvider
Auto Trait Implementations§
impl Freeze for FileExplorerViewProvider
impl !RefUnwindSafe for FileExplorerViewProvider
impl Send for FileExplorerViewProvider
impl Sync for FileExplorerViewProvider
impl Unpin for FileExplorerViewProvider
impl !UnwindSafe for FileExplorerViewProvider
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].