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 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> DispatchLocalClientMessage<___H, ___T> for LeaseControlwhere
___H: LeaseControlLocalClientHandler<___T>,
___T: Transport,
impl<___H, ___T> DispatchLocalClientMessage<___H, ___T> for LeaseControlwhere
___H: LeaseControlLocalClientHandler<___T>,
___T: Transport,
Source§impl<___H, ___T> DispatchLocalServerMessage<___H, ___T> for LeaseControlwhere
___H: LeaseControlLocalServerHandler<___T>,
___T: Transport,
LeaseControlWatchStatusRequest: for<'de> Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
impl<___H, ___T> DispatchLocalServerMessage<___H, ___T> for LeaseControlwhere
___H: LeaseControlLocalServerHandler<___T>,
___T: Transport,
LeaseControlWatchStatusRequest: for<'de> Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
Source§impl<___H, ___T> DispatchServerMessage<___H, ___T> for LeaseControlwhere
___H: LeaseControlServerHandler<___T> + Send,
___T: Transport,
LeaseControlWatchStatusRequest: for<'de> Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
impl<___H, ___T> DispatchServerMessage<___H, ___T> for LeaseControlwhere
___H: LeaseControlServerHandler<___T> + Send,
___T: Transport,
LeaseControlWatchStatusRequest: for<'de> Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
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
§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]