Struct NavigationEventListenerProxy Copy item path Source pub struct NavigationEventListenerProxy { }Create a new Proxy for fuchsia.web/NavigationEventListener.
Get a Stream of events from the remote end of the protocol.
§ Panics
Panics if the event stream was already taken.
Called immediately after [Frame.SetNavigationEventListener] and every time user-visible
navigation state has changed. In the first call, change contains the current navigation
state (empty before the first navigation request). In every following call, change will
have values set for all fields that have changed at any time since the previous
notification. This means that some fields may have the same value as was previously
reported, for example, if they changed to some other value and back again. If a field is
unset, then its value has not changed at any time since the previous notification.
Implementer must call the acknowledgement callback to receive new navigation events.
Performs copy-assignment from
source.
Read more Formats the value using the given formatter.
Read more The protocol which this Proxy controls.
Create a proxy over the given channel.
Attempt to convert the proxy back into a channel.
Read more Get a reference to the proxy’s underlying channel.
Read more Attempt to convert the proxy back into a client end.
Read more Returns true if the proxy has received the PEER_CLOSED signal.
Returns a future that completes when the proxy receives the
PEER_CLOSED signal.
Immutably borrows from an owned value.
Read more Mutably borrows from an owned value.
Read more 🔬 This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from
self to
dest.
Read more Encodes the object into the encoder’s buffers. Any handles stored in the
object are swapped for
Handle::INVALID.
Read more Encodes the object into the encoder’s buffers. Any handles stored in the
object are swapped for
Handle::INVALID.
Read more Returns the argument unchanged.
The protocol.
Converts from a client.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From <T> for U chooses to do.
The alignment of pointer.
The type for initializers.
Initializes a with the given initializer.
Read more Mutably dereferences the given pointer.
Read more Drops the object pointed to by the given pointer.
Read more Get a “client” for this proxy. This is just an object which has methods
for a few common handle creation operations.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more Uses borrowed data to replace owned data, usually by cloning.
Read more The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.