pub struct LeaseControl;Expand description
The type corresponding to the LeaseControl protocol. Provides lease-scoped access to actions that can be taken on a lease previously acquired via Lessor.Lease. Closing this control channel drops the lease. TODO(https://fxbug.dev/339474151): Switch from a protocol to an eventpair.
Trait Implementations§
Source§impl ClientCompatFrom<LeaseControlProxy> for LeaseControl
Available on Fuchsia only.
impl ClientCompatFrom<LeaseControlProxy> for LeaseControl
Available on Fuchsia only.
Source§fn client_compat_from(
proxy: LeaseControlProxy,
) -> ClientDispatcher<LeaseControl, Channel>
fn client_compat_from( proxy: LeaseControlProxy, ) -> ClientDispatcher<LeaseControl, Channel>
Converts
proxy into a Client for this protocol.Source§impl CompatFrom<LeaseControlMarker> for LeaseControl
impl CompatFrom<LeaseControlMarker> for LeaseControl
Source§fn compat_from(_: LeaseControlMarker) -> LeaseControl
fn compat_from(_: LeaseControlMarker) -> LeaseControl
Converts
value into a value of this type.Source§impl Debug for LeaseControl
impl Debug for LeaseControl
Source§impl<___H, ___T> DispatchClientMessage<___H, ___T> for LeaseControlwhere
___H: LeaseControlClientHandler<___T> + Send,
___T: Transport,
impl<___H, ___T> DispatchClientMessage<___H, ___T> for LeaseControlwhere
___H: LeaseControlClientHandler<___T> + Send,
___T: Transport,
Source§impl<___H, ___T> DispatchServerMessage<___H, ___T> for LeaseControlwhere
___H: LeaseControlServerHandler<___T> + Send,
___T: Transport,
<WatchStatus as Method>::Request: Decode<<___T as Transport>::RecvBuffer>,
impl<___H, ___T> DispatchServerMessage<___H, ___T> for LeaseControlwhere
___H: LeaseControlServerHandler<___T> + Send,
___T: Transport,
<WatchStatus as Method>::Request: Decode<<___T as Transport>::RecvBuffer>,
Source§impl<___T> HasConnectionHandles<___T> for LeaseControlwhere
___T: Transport,
impl<___T> HasConnectionHandles<___T> for LeaseControlwhere
___T: Transport,
Source§impl HasTransport for LeaseControl
Available on Fuchsia only.
impl HasTransport for LeaseControl
Available on Fuchsia only.
Source§impl PartialEq for LeaseControl
impl PartialEq for LeaseControl
impl StructuralPartialEq for LeaseControl
Auto Trait Implementations§
impl Freeze for LeaseControl
impl RefUnwindSafe for LeaseControl
impl Send for LeaseControl
impl Sync for LeaseControl
impl Unpin for LeaseControl
impl UnwindSafe for LeaseControl
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, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]