Struct edgedb_protocol::descriptors::InputTypedesc
source · [−]pub struct InputTypedesc { /* private fields */ }
Implementations
sourceimpl InputTypedesc
impl InputTypedesc
pub fn as_query_arg_context(&self) -> DescriptorContext<'_>
pub fn descriptors(&self) -> &[Descriptor]
pub fn build_codec(&self) -> Result<Arc<dyn Codec>, CodecError>
pub fn root(&self) -> Option<&Descriptor>
pub fn root_pos(&self) -> Option<TypePos>
pub fn get(&self, type_pos: TypePos) -> Result<&Descriptor, CodecError>
pub fn is_empty_tuple(&self) -> bool
pub fn proto(&self) -> &ProtocolVersion
Auto Trait Implementations
impl RefUnwindSafe for InputTypedesc
impl Send for InputTypedesc
impl Sync for InputTypedesc
impl Unpin for InputTypedesc
impl UnwindSafe for InputTypedesc
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more